Correct typo
[bertos.git] / wizard / BFolderPage.py
index 4d8860d5facb28e67f3a199a3f0b38261a1aacb0..76f99172bed5dfa76f95ed6076f5124c0bf4f60a 100644 (file)
@@ -42,7 +42,7 @@ class BFolderPage(BWizardPage):
         self._setProjectPath()
     
     def _setProjectPath(self):
-        if self._destinationFolder <> "" and self._projectName <> "":
+        if self._destinationFolder != "" and self._projectName <> "":
             if not self._destinationFolder.endswith(os.sep):
                 self._destinationFolder += os.sep
             self.pageContent.projectPath.setText(self._destinationFolder + self._projectName + "/")
@@ -55,4 +55,8 @@ class BFolderPage(BWizardPage):
         self.pageContent.directoryEdit.setText(directory)
     
     def isComplete(self):
-        return self.pageContent.projectPath.text() != "None"
\ No newline at end of file
+        if self.pageContent.projectPath.text() != "None":
+            self._projectInfoStore("PROJECT_PATH", self.pageContent.projectPath.text())
+            return True
+        else:
+            return False
\ No newline at end of file