Loading scenarios fix for different DB types

This commit is contained in:
Marianpol 2020-02-17 13:43:51 +01:00
parent bac480136a
commit a3707c21ba

View File

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