diff options
Diffstat (limited to 'src/projManagement')
-rw-r--r-- | src/projManagement/Kicad.pyc | bin | 4302 -> 4309 bytes | |||
-rw-r--r-- | src/projManagement/Validation.pyc | bin | 2397 -> 2404 bytes | |||
-rw-r--r-- | src/projManagement/Worker.pyc | bin | 1501 -> 1507 bytes | |||
-rw-r--r-- | src/projManagement/__init__.pyc | bin | 144 -> 145 bytes | |||
-rw-r--r-- | src/projManagement/newProject.py | 2 | ||||
-rw-r--r-- | src/projManagement/newProject.pyc | bin | 2966 -> 2983 bytes | |||
-rw-r--r-- | src/projManagement/openProject.py | 13 | ||||
-rw-r--r-- | src/projManagement/openProject.pyc | bin | 1767 -> 2136 bytes |
8 files changed, 12 insertions, 3 deletions
diff --git a/src/projManagement/Kicad.pyc b/src/projManagement/Kicad.pyc Binary files differindex 3cb015de..b1bfec10 100644 --- a/src/projManagement/Kicad.pyc +++ b/src/projManagement/Kicad.pyc diff --git a/src/projManagement/Validation.pyc b/src/projManagement/Validation.pyc Binary files differindex a1bbf393..a32213f0 100644 --- a/src/projManagement/Validation.pyc +++ b/src/projManagement/Validation.pyc diff --git a/src/projManagement/Worker.pyc b/src/projManagement/Worker.pyc Binary files differindex 4f8652b7..af65ebc6 100644 --- a/src/projManagement/Worker.pyc +++ b/src/projManagement/Worker.pyc diff --git a/src/projManagement/__init__.pyc b/src/projManagement/__init__.pyc Binary files differindex 2f39d337..62020210 100644 --- a/src/projManagement/__init__.pyc +++ b/src/projManagement/__init__.pyc diff --git a/src/projManagement/newProject.py b/src/projManagement/newProject.py index 77c583d3..22f2c60c 100644 --- a/src/projManagement/newProject.py +++ b/src/projManagement/newProject.py @@ -77,7 +77,7 @@ class NewProjectInfo(QtGui.QWidget): self.obj_appconfig.project_explorer[self.projDir] = newprojlist json.dump(self.obj_appconfig.project_explorer, open(self.obj_appconfig.dictPath,'w')) - + return self.projDir, newprojlist elif self.reply == "CHECKEXIST": #print "Project already exist" diff --git a/src/projManagement/newProject.pyc b/src/projManagement/newProject.pyc Binary files differindex 2672dd49..bbb9924c 100644 --- a/src/projManagement/newProject.pyc +++ b/src/projManagement/newProject.pyc diff --git a/src/projManagement/openProject.py b/src/projManagement/openProject.py index 4112810c..83fc1a41 100644 --- a/src/projManagement/openProject.py +++ b/src/projManagement/openProject.py @@ -20,7 +20,8 @@ from PyQt4 import QtGui from Validation import Validation from configuration.Appconfig import Appconfig - +import os +import json class OpenProjectInfo(QtGui.QWidget): @@ -40,7 +41,15 @@ class OpenProjectInfo(QtGui.QWidget): #print "Pass open project test" self.obj_Appconfig = Appconfig() self.obj_Appconfig.current_project['ProjectName'] = str(self.projDir) - + if os.path.isdir(self.projDir): + print "true" + + for dirs, subdirs, filelist in os.walk(self.obj_Appconfig.current_project["ProjectName"]): + directory = dirs + files = filelist + self.obj_Appconfig.project_explorer[dirs] = filelist + json.dump(self.obj_Appconfig.project_explorer, open(self.obj_Appconfig.dictPath,'w')) + return dirs, filelist else: #print "Failed open project test" diff --git a/src/projManagement/openProject.pyc b/src/projManagement/openProject.pyc Binary files differindex 49ac9b28..395a8437 100644 --- a/src/projManagement/openProject.pyc +++ b/src/projManagement/openProject.pyc |