From a903ba510fca71c308c0268d3c99f98192dc95c0 Mon Sep 17 00:00:00 2001 From: komalsheth236 Date: Tue, 5 May 2015 17:42:16 +0530 Subject: Project Explorer Completed --- src/configuration/Appconfig.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/configuration/Appconfig.py') 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__() -- cgit