From: duplo Date: Thu, 9 Apr 2009 17:48:00 +0000 (+0000) Subject: Correct errors under Windows X-Git-Tag: 2.1.0~208 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=ee8a668a156614bdc803c93874eda0d6580ccc2a;p=bertos.git Correct errors under Windows git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2474 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BFolderPage.py b/wizard/BFolderPage.py index 2628aa66..f6fcc59d 100644 --- a/wizard/BFolderPage.py +++ b/wizard/BFolderPage.py @@ -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()"))