diff options
author | rahulp13 | 2023-06-29 18:27:07 +0530 |
---|---|---|
committer | rahulp13 | 2023-06-29 19:38:37 +0530 |
commit | a281909027a5c82cb1c6b84a6558b35c8b088133 (patch) | |
tree | b047fb7ad397f6d65e880d7cdf5c5212e99b660f /src/configuration | |
parent | 6fb36b7f770ecf81e2abd8b8b5d86a1b75e497c5 (diff) | |
download | eSim-a281909027a5c82cb1c6b84a6558b35c8b088133.tar.gz eSim-a281909027a5c82cb1c6b84a6558b35c8b088133.tar.bz2 eSim-a281909027a5c82cb1c6b84a6558b35c8b088133.zip |
removed kicad online mode switching
Diffstat (limited to 'src/configuration')
-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: |