Fixbug commit f1006f1adc: I forgot to take the case to send a file, not a directory

This commit is contained in:
Bruno Macabeus 2015-08-29 12:16:19 -03:00 committed by Elvish_Hunter
parent 7009d360ab
commit 5e5128680c

View file

@ -180,6 +180,8 @@ if __name__ == '__main__':
i += '/'
cfg_from_dir = [i + cfg for cfg in os.listdir(i) if cfg[-3:] == 'cfg']
list_files_analyze += cfg_from_dir
else:
list_files_analyze.append(i)
if args.verbose > 1:
print("Args: %s\n"% (args, ))