mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 19:03:52 +00:00
Fixbug commit f1006f1adcb56fa823108a819ec5d4c739424a22: I forgot to take the case to send a file, not a directory
This commit is contained in:
parent
7009d360ab
commit
5e5128680c
@ -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…
x
Reference in New Issue
Block a user