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