Commit 2a890b0e authored by Maxime Perrotin's avatar Maxime Perrotin

avoid error message when sdl is not loaded

parent 94cf55db
......@@ -359,7 +359,8 @@ def gui():
sdl.msc_macro_stop.connect(msc.stop_undo_macro)
sdl.allowed_messages.connect(myWidget.allowed_editors)
except IOError as err:
log.info('SDL Simulator Error - ' + str(err))
if sys.argv[0] == 'opengeode-simulator':
log.info('SDL Simulator Error - ' + str(err))
#log.info(traceback.format_exc())
sdl = None
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment