From 814b3910291fc05bf657e4ee811d998ff9a11975 Mon Sep 17 00:00:00 2001
From: Adrian Schmitz <a.schmitz@itc.rwth-aachen.de>
Date: Wed, 10 Jan 2024 16:39:23 +0100
Subject: [PATCH] HOTFIX: Fix some names/references in Installer.py

Signed-off-by: Adrian Schmitz <a.schmitz@itc.rwth-aachen.de>
---
 Installer.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Installer.py b/Installer.py
index ca3b66e..ede1dda 100755
--- a/Installer.py
+++ b/Installer.py
@@ -206,7 +206,7 @@ def create_keys(priv_key_path, pub_key_path):
 # create initial mapping
 def create_mapping(priv_key_path, pub_key_path):
     create_keys(priv_key_path, pub_key_path)
-    with open(args.map_path, "w") as text_file:
+    with open(args.mapping_path, "w") as text_file:
         text_file.write('')
 
 
@@ -221,7 +221,7 @@ def install():
         os.makedirs(args.install_path, exist_ok=True)
         if not args.static_exe:
             os.system(f'cp -r core driver.py {args.install_path}')
-        os.system(f'cp -r settings JSONAccountManager.py {args.install_path}')
+        os.system(f'cp -r settings AccountManager.py {args.install_path}')
         print(f'Installing utility scripts to {args.rt_utility_path}')
         os.system(f'cp -r utility/runtime/scripts {args.rt_utility_path}')
         #os.chdir(args.install_path)
-- 
GitLab