From 42965e0d201d52e299fddd6c1bfc9df6dad04382 Mon Sep 17 00:00:00 2001 From: Marianpol Date: Wed, 4 Mar 2020 21:45:49 +0100 Subject: [PATCH] Dump location changed --- pyren/scen_ecri_paraminj1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyren/scen_ecri_paraminj1.py b/pyren/scen_ecri_paraminj1.py index eddfe00..92c9ba0 100644 --- a/pyren/scen_ecri_paraminj1.py +++ b/pyren/scen_ecri_paraminj1.py @@ -542,7 +542,7 @@ def run( elm, ecu, command, data ): fileRoot.insert(1,el) tree = et.ElementTree(fileRoot) - tree.write('./cache/' + ScmParam['FileName']) + tree.write(mod_globals.dumps_dir + ScmParam['FileName']) def loadDump(): clearScreen() @@ -550,7 +550,7 @@ def run( elm, ecu, command, data ): paramToSend = "" dumpScmParam = {} try: - dumpData = open('./cache/' + ScmParam['FileName'], 'r') + dumpData = open(mod_globals.dumps_dir + ScmParam['FileName'], 'r') except: print get_message_by_id('2194') raw_input()