diff options
Diffstat (limited to 'src/configuration/Appconfig.py')
-rw-r--r-- | src/configuration/Appconfig.py | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/configuration/Appconfig.py b/src/configuration/Appconfig.py index 00977ca0..4decf0b6 100644 --- a/src/configuration/Appconfig.py +++ b/src/configuration/Appconfig.py @@ -13,7 +13,7 @@ # MODIFIED: Rahul Paknikar, rahulp@iitb.ac.in # ORGANIZATION: eSim Team at FOSSEE, IIT Bombay # CREATED: Tuesday 24 February 2015 -# REVISION: Tuesday 13 September 2022 +# REVISION: Thursday 29 June 2023 # ========================================================================= from PyQt5 import QtWidgets @@ -80,20 +80,6 @@ class Appconfig(QtWidgets.QWidget): print("Cannot access Modelica map file --- .esim folder") print(str(e)) - # Open file and read KiCad config path - try: - init_path = '../../' - if os.name == 'nt': - init_path = '' - - file = open(init_path + - 'library/supportFiles/kicad_config_path.txt', 'r') - kicad_path = file.read().rstrip() - file.close() - except BaseException as e: - kicad_path = None - print(str(e)) - try: project_explorer = json.load(open(dictPath["path"])) except BaseException: |