Fixbug commit f1006f1adc
: I forgot to take the case to send a file, not a directory
This commit is contained in:
parent
7009d360ab
commit
5e5128680c
1 changed files with 2 additions and 0 deletions
|
@ -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, ))
|
||||
|
|
Loading…
Add table
Reference in a new issue