mirror of
https://github.com/arcan1s/moldyn.git
synced 2025-06-28 14:51:41 +00:00
fix path
This commit is contained in:
@ -83,7 +83,7 @@ if __name__ == "__main__":
|
||||
input = []
|
||||
if (args.dir):
|
||||
if (os.path.isdir(args.dir)):
|
||||
input = [file for file in os.listdir(args.dir) if (os.path.splitext(file)[1] == ".qti")]
|
||||
input = [os.path.join(args.dir, file) for file in os.listdir(args.dir) if (os.path.splitext(file)[1] == ".qti")]
|
||||
else:
|
||||
if (args.input):
|
||||
for file in args.input.split(','):
|
||||
|
Reference in New Issue
Block a user