Call runScript() with unicorn only when there *is* a graphic interface.
This commit is contained in:
parent
d8958c3b5a
commit
b06e90d122
|
@ -190,7 +190,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
if options.script:
|
if options.script:
|
||||||
runScript(options.script,unicorn)
|
runScript(options.script,unicorn)
|
||||||
|
else:
|
||||||
# Run in command line mode.
|
# Run in command line mode.
|
||||||
if options.script: runScript(options.script,None)
|
if options.script: runScript(options.script,None)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue