Bad filename printed on successful import with multiple files

This commit is contained in:
Phyks 2014-06-08 19:18:43 +02:00
parent 2eb49eca94
commit d49691c6f5

2
bmc.py
View File

@ -508,7 +508,7 @@ if __name__ == '__main__':
new_name = addFile(filename, args.type, args.manual, args.y,
args.tag)
if new_name is not False:
print(sys.argv[2]+" successfully imported as " +
print(filename+" successfully imported as " +
new_name+".")
else:
tools.warning("An error occurred while importing " +