make sure name is not a list...

This commit is contained in:
Fredrik Eriksson 2020-12-17 12:15:20 +01:00
parent 235f5b1e07
commit 07ccb09910
Signed by: feffe
GPG Key ID: F4329687B0FA7F8D

View File

@ -79,7 +79,7 @@ def parse_args():
args = parser.parse_args()
if not args.name:
args.name = [os.path.basename(args.command[0])]
args.name = os.path.basename(args.command[0])
return args