Correct errors under Windows
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 9 Apr 2009 17:48:00 +0000 (17:48 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 9 Apr 2009 17:48:00 +0000 (17:48 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2474 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BFolderPage.py

index 2628aa668d74fbb7f7f6727ec4d0bec08d972b61..f6fcc59dc9b92a96017ce2a8702e3bea44e74d50 100644 (file)
@@ -100,7 +100,7 @@ class BFolderPage(BWizardPage):
         """
         if self._destination_folder != "" and self._project_name <> "":
             if not self._destination_folder.endswith(os.sep):
-                self._destination_folder += "/"
+                self._destination_folder += os.sep
             self.pageContent.projectPath.setText(QDir.toNativeSeparators(self._destination_folder + self._project_name))
             if os.path.exists(self._destination_folder + self._project_name):
                 self.pageContent.warningLabel.setVisible(True)
@@ -113,4 +113,4 @@ class BFolderPage(BWizardPage):
             self.pageContent.projectPath.setText("None")
             self.pageContent.warningLabel.setVisible(False)
             self.pageContent.warningLabel.setText("")
-        self.emit(SIGNAL("completeChanged()"))
\ No newline at end of file
+        self.emit(SIGNAL("completeChanged()"))