Browse Source

UPdate variables instead of replacing it

master
Daniel Berteaud 3 years ago
parent
commit
318306df06
  1. 2
      setup.py

2
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,

Loading…
Cancel
Save