Dump location changed

This commit is contained in:
Marianpol 2020-03-04 21:45:49 +01:00
parent de8b873da0
commit 42965e0d20

View File

@ -542,7 +542,7 @@ def run( elm, ecu, command, data ):
fileRoot.insert(1,el) fileRoot.insert(1,el)
tree = et.ElementTree(fileRoot) tree = et.ElementTree(fileRoot)
tree.write('./cache/' + ScmParam['FileName']) tree.write(mod_globals.dumps_dir + ScmParam['FileName'])
def loadDump(): def loadDump():
clearScreen() clearScreen()
@ -550,7 +550,7 @@ def run( elm, ecu, command, data ):
paramToSend = "" paramToSend = ""
dumpScmParam = {} dumpScmParam = {}
try: try:
dumpData = open('./cache/' + ScmParam['FileName'], 'r') dumpData = open(mod_globals.dumps_dir + ScmParam['FileName'], 'r')
except: except:
print get_message_by_id('2194') print get_message_by_id('2194')
raw_input() raw_input()