Correct errors under Windows
[bertos.git] / 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()"))