diff options
Diffstat (limited to 'src/configuration/Appconfig.py')
-rw-r--r-- | src/configuration/Appconfig.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/configuration/Appconfig.py b/src/configuration/Appconfig.py index 84502e5d..f00ac984 100644 --- a/src/configuration/Appconfig.py +++ b/src/configuration/Appconfig.py @@ -19,6 +19,7 @@ from PyQt4 import QtGui import os +import json class Appconfig(QtGui.QWidget): @@ -35,7 +36,11 @@ class Appconfig(QtGui.QWidget): #Workspace detail workspace_text = '''eSim stores your project in a folder called a eSim-Workspace. You can choose a different workspace folder to use for this session.''' procThread_list = [] - + dictPath = os.path.join(home, ".text.txt") + try: + project_explorer = json.load(open(dictPath)) + except: + project_explorer= {} def __init__(self): super(Appconfig, self).__init__() |