Loading scenario fix

This commit is contained in:
Marianpol 2020-02-17 09:53:11 +01:00
parent 8b13412720
commit ed07c8c9e2

View File

@ -26,7 +26,7 @@ def playScenario(command, ecu, elm):
if os.path.isfile('./'+scenarioName+'.py'): if os.path.isfile('./'+scenarioName+'.py'):
scen = __import__( scenarioName ) scen = __import__( scenarioName )
scen.run( elm, ecu, command, '../'+path+scenarioData ) scen.run( elm, ecu, command, './'+path+scenarioData )
return return
print "\nThere is scenarium. I do not support them!!!\n" print "\nThere is scenarium. I do not support them!!!\n"