Adding more feedback if giving wrong filename to @batchprocess.
This commit is contained in:
parent
5e8a047111
commit
afc463f975
1 changed files with 1 additions and 0 deletions
|
|
@ -189,6 +189,7 @@ def cmd_batchprocess(command):
|
||||||
#parse indata file
|
#parse indata file
|
||||||
commands = parse_batchbuild_file(filename)
|
commands = parse_batchbuild_file(filename)
|
||||||
if not commands:
|
if not commands:
|
||||||
|
source_object.emit_to("'%s'\ncould not be found. Remember that you have to supply the absolute path to the file." % filename)
|
||||||
return
|
return
|
||||||
switches = command.command_switches
|
switches = command.command_switches
|
||||||
if switches and switches[0] in ['inter','interactive']:
|
if switches and switches[0] in ['inter','interactive']:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue