Bad filename printed on successful import with multiple files
This commit is contained in:
parent
2eb49eca94
commit
d49691c6f5
2
bmc.py
2
bmc.py
@ -508,7 +508,7 @@ if __name__ == '__main__':
|
|||||||
new_name = addFile(filename, args.type, args.manual, args.y,
|
new_name = addFile(filename, args.type, args.manual, args.y,
|
||||||
args.tag)
|
args.tag)
|
||||||
if new_name is not False:
|
if new_name is not False:
|
||||||
print(sys.argv[2]+" successfully imported as " +
|
print(filename+" successfully imported as " +
|
||||||
new_name+".")
|
new_name+".")
|
||||||
else:
|
else:
|
||||||
tools.warning("An error occurred while importing " +
|
tools.warning("An error occurred while importing " +
|
||||||
|
Loading…
Reference in New Issue
Block a user