diff options
author | Fahim | 2015-05-05 17:44:39 +0530 |
---|---|---|
committer | Fahim | 2015-05-05 17:44:39 +0530 |
commit | 4b4c0f629b77baa250c6535cd95e759b0cda3cba (patch) | |
tree | 29cf1aefda7da653ce64d723b86b09b2dfd66c6e /src/configuration | |
parent | 4140d1931e819f5a1ba71dbe306847a564b581e6 (diff) | |
parent | a903ba510fca71c308c0268d3c99f98192dc95c0 (diff) | |
download | eSim-4b4c0f629b77baa250c6535cd95e759b0cda3cba.tar.gz eSim-4b4c0f629b77baa250c6535cd95e759b0cda3cba.tar.bz2 eSim-4b4c0f629b77baa250c6535cd95e759b0cda3cba.zip |
Merge pull request #23 from komalsheth236/master
Project Explorer Completed
Diffstat (limited to 'src/configuration')
-rw-r--r-- | src/configuration/Appconfig.py | 7 | ||||
-rw-r--r-- | src/configuration/Appconfig.pyc | bin | 1391 -> 1557 bytes | |||
-rw-r--r-- | src/configuration/__init__.pyc | bin | 144 -> 144 bytes |
3 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__() diff --git a/src/configuration/Appconfig.pyc b/src/configuration/Appconfig.pyc Binary files differindex 9e78df71..e08ffda4 100644 --- a/src/configuration/Appconfig.pyc +++ b/src/configuration/Appconfig.pyc diff --git a/src/configuration/__init__.pyc b/src/configuration/__init__.pyc Binary files differindex 5d054b24..58bf9549 100644 --- a/src/configuration/__init__.pyc +++ b/src/configuration/__init__.pyc |