From 318306df064cd1426ad2d12abbc36cd119621bd2 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 5 Dec 2018 14:45:29 +0100 Subject: [PATCH] UPdate variables instead of replacing it --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 688a992..5c9b764 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ variables = { if isfile(makepath(programfiles32,'wapt','private','symetric.txt')) and isfile(makepath(programfiles32,'wapt','private','variables.txt')): print('Reading local encrypted variables file') f = Fernet(open(makepath(programfiles32,'wapt','private','symetric.txt'),'r').read()) - variables = json.loads(f.decrypt(open(makepath(programfiles32,'wapt','private','variables.txt'),'r').read())) + variables.update(json.loads(f.decrypt(open(makepath(programfiles32,'wapt','private','variables.txt'),'r').read()))) props = { 'RMTCMD':0,