Browse Source

fix mistake #5

pull/7/head
Nzix 6 years ago
parent
commit
3d568e80b8
  1. 2
      app.py

2
app.py

@ -82,7 +82,7 @@ for item in args.input:
if os.path.isdir(item): if os.path.isdir(item):
files += [os.path.join(item, _file) for _file in os.listdir(item) if os.path.splitext(_file)[-1] == '.ncm'] files += [os.path.join(item, _file) for _file in os.listdir(item) if os.path.splitext(_file)[-1] == '.ncm']
else: else:
flles += [item] files += [item]
if sys.version[0] == '2': if sys.version[0] == '2':
files = [file_name.decode(sys.stdin.encoding) for file_name in files] files = [file_name.decode(sys.stdin.encoding) for file_name in files]

Loading…
Cancel
Save