Commit a3992263 authored by panos's avatar panos

Bug fixed --Assertion Error -- to run locally the platform

parent 30af433e
...@@ -158,7 +158,7 @@ def _runSimulation(parameter_dict): ...@@ -158,7 +158,7 @@ def _runSimulation(parameter_dict):
exc_type, exc_value, exc_traceback = sys.exc_info() exc_type, exc_value, exc_traceback = sys.exc_info()
tb = ''.join(simpy._compat.format_chain(exc_type, exc_value, exc_traceback)) tb = ''.join(simpy._compat.format_chain(exc_type, exc_value, exc_traceback))
else: else:
assert sys.version_info[0] == 3 # assert sys.version_ == 3
tb = traceback.format_exc() tb = traceback.format_exc()
app.logger.error(tb) app.logger.error(tb)
return dict(error=tb) return dict(error=tb)
......
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