fixed bug for missing file name
This commit is contained in:
parent
466ced911e
commit
65ae7de42b
|
@ -654,7 +654,7 @@ bg.start()
|
||||||
|
|
||||||
# --- sanity checks
|
# --- sanity checks
|
||||||
|
|
||||||
if not file[0]:
|
if file == []:
|
||||||
parser.print_help()
|
parser.print_help()
|
||||||
parser.error('no file specified...')
|
parser.error('no file specified...')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue