diff options
author | komalsheth236 | 2015-05-05 17:42:16 +0530 |
---|---|---|
committer | komalsheth236 | 2015-05-05 17:42:16 +0530 |
commit | a903ba510fca71c308c0268d3c99f98192dc95c0 (patch) | |
tree | 29cf1aefda7da653ce64d723b86b09b2dfd66c6e /src/configuration/Appconfig.py | |
parent | 4140d1931e819f5a1ba71dbe306847a564b581e6 (diff) | |
download | eSim-a903ba510fca71c308c0268d3c99f98192dc95c0.tar.gz eSim-a903ba510fca71c308c0268d3c99f98192dc95c0.tar.bz2 eSim-a903ba510fca71c308c0268d3c99f98192dc95c0.zip |
Project Explorer Completed
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__() |