diff options
author | rahulp13 | 2022-02-22 01:07:20 +0530 |
---|---|---|
committer | rahulp13 | 2022-02-22 01:07:20 +0530 |
commit | 1b42df112e9d13afd092d9f415e7e446a2102e85 (patch) | |
tree | 10caef51545fbbf7ee8ab43f02bc1a2650090c30 /src/ngspiceSimulation/NgspiceWidget.py | |
parent | faadcb72916d269aeabbaa23f799962b6b99c45c (diff) | |
download | eSim-1b42df112e9d13afd092d9f415e7e446a2102e85.tar.gz eSim-1b42df112e9d13afd092d9f415e7e446a2102e85.tar.bz2 eSim-1b42df112e9d13afd092d9f415e7e446a2102e85.zip |
Restructured config paths and other path issues
Diffstat (limited to 'src/ngspiceSimulation/NgspiceWidget.py')
-rw-r--r-- | src/ngspiceSimulation/NgspiceWidget.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py index 6d64181d..3c68148b 100644 --- a/src/ngspiceSimulation/NgspiceWidget.py +++ b/src/ngspiceSimulation/NgspiceWidget.py @@ -23,11 +23,10 @@ class NgspiceWidget(QtWidgets.QWidget): print("Argument to ngspice command : ", command) if os.name == 'nt': # For Windows OS - home = os.path.expanduser("~") - parser_nghdl = ConfigParser() - parser_nghdl.read(os.path.join( - home, os.path.join('.nghdl', 'config.ini'))) + parser_nghdl.read( + os.path.join('library', 'config', '.nghdl', 'config.ini') + ) msys_home = parser_nghdl.get('COMPILER', 'MSYS_HOME') |