make sure name is not a list...
This commit is contained in:
parent
235f5b1e07
commit
07ccb09910
@ -79,7 +79,7 @@ def parse_args():
|
|||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
if not args.name:
|
if not args.name:
|
||||||
args.name = [os.path.basename(args.command[0])]
|
args.name = os.path.basename(args.command[0])
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user