Loading scenarios fix for different DB types
This commit is contained in:
parent
bac480136a
commit
a3707c21ba
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user