diff options
author | Sumanto Kar | 2023-09-02 15:06:23 +0530 |
---|---|---|
committer | GitHub | 2023-09-02 15:06:23 +0530 |
commit | 9dfa8fc60df73549735d7347e1bfbe356a27edf5 (patch) | |
tree | cf7cb7dd966e48f432ee44134d39817f8bf81d60 /src/configuration/Appconfig.py | |
parent | ddffb22e52db5e3ebc61262b1ae5e8a6d6e770df (diff) | |
parent | 7c92529d1576015d39a9fecfd85ae918baf3e62e (diff) | |
download | eSim-9dfa8fc60df73549735d7347e1bfbe356a27edf5.tar.gz eSim-9dfa8fc60df73549735d7347e1bfbe356a27edf5.tar.bz2 eSim-9dfa8fc60df73549735d7347e1bfbe356a27edf5.zip |
Merge pull request #255 from PSR0001/master
Porting KiCad V4 To V6
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: |