summaryrefslogtreecommitdiff
path: root/src/configuration
diff options
context:
space:
mode:
authorSunil Shetye2019-06-13 13:11:14 +0530
committerGitHub2019-06-13 13:11:14 +0530
commitcfc34bb19977e738582620802415ccde27a03039 (patch)
treedaaace10133835956619b401aca9c252e3e789bc /src/configuration
parent25c6eddcea3c8a62d9750a78435454544d8c7b14 (diff)
parent20b23a7934f7cf01cd5b4353ddd2e008b40e5ffd (diff)
downloadeSim-cfc34bb19977e738582620802415ccde27a03039.tar.gz
eSim-cfc34bb19977e738582620802415ccde27a03039.tar.bz2
eSim-cfc34bb19977e738582620802415ccde27a03039.zip
Merge pull request #86 from nilshah98/documentation
Documentation added and minor fixes
Diffstat (limited to 'src/configuration')
-rw-r--r--src/configuration/Appconfig.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/configuration/Appconfig.py b/src/configuration/Appconfig.py
index 40bb8ef6..8c34abb8 100644
--- a/src/configuration/Appconfig.py
+++ b/src/configuration/Appconfig.py
@@ -54,8 +54,13 @@ class Appconfig(QtGui.QWidget):
os.path.join(
'.esim',
'config.ini')))
- # Need to comment below line to execute on Windows 10
- # modelica_map_json = parser_esim.get('eSim', 'MODELICA_MAP_JSON')
+
+ # Try catch added, since eSim cannot be accessed under parser for Win10
+ try:
+ modelica_map_json = parser_esim.get('eSim', 'MODELICA_MAP_JSON')
+ except:
+ print("Cannot access eSim in parser")
+
try:
project_explorer = json.load(open(dictPath))
except BaseException: