From d49691c6f5e11d0b261b2cd70956be84aa7ed37c Mon Sep 17 00:00:00 2001 From: Phyks Date: Sun, 8 Jun 2014 19:18:43 +0200 Subject: [PATCH] Bad filename printed on successful import with multiple files --- bmc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bmc.py b/bmc.py index 935ca3b..ca1e041 100755 --- a/bmc.py +++ b/bmc.py @@ -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 " +