diff options
author | fahim-oscad | 2016-05-26 17:05:24 +0530 |
---|---|---|
committer | fahim-oscad | 2016-05-26 17:05:24 +0530 |
commit | dab6b1084d39e676305f89a59ab6685edec5e9ee (patch) | |
tree | 8bac67d9ca91c1cf6aeceb8fd4dde9b723ba9370 /src/configuration/Appconfig.py | |
parent | 9f5571546670218964fa202ce9897d15c80e5e27 (diff) | |
parent | d065d4854293d2d896fbabf8fd06c31a3b7c1c24 (diff) | |
download | eSim-dab6b1084d39e676305f89a59ab6685edec5e9ee.tar.gz eSim-dab6b1084d39e676305f89a59ab6685edec5e9ee.tar.bz2 eSim-dab6b1084d39e676305f89a59ab6685edec5e9ee.zip |
Merge branch 'release' into developv1.1.1
Diffstat (limited to 'src/configuration/Appconfig.py')
-rw-r--r-- | src/configuration/Appconfig.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/configuration/Appconfig.py b/src/configuration/Appconfig.py index 3e4afad6..d9479137 100644 --- a/src/configuration/Appconfig.py +++ b/src/configuration/Appconfig.py @@ -20,6 +20,7 @@ from PyQt4 import QtGui import os import json +from ConfigParser import SafeConfigParser class Appconfig(QtGui.QWidget): @@ -42,6 +43,10 @@ class Appconfig(QtGui.QWidget): dock_dict={} #holds all dockwidgets dictPath = os.path.join(os.path.expanduser("~"), ".projectExplorer.txt") noteArea = {} + + parser_esim = SafeConfigParser() + parser_esim.read(os.path.join(os.path.expanduser("~"), os.path.join('.esim','config.ini'))) + modelica_map_json = parser_esim.get('eSim', 'MODELICA_MAP_JSON') try: project_explorer = json.load(open(dictPath)) except: |