X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBFolderPage.py;h=dce305e0d2c0127f57ead17829384a07faeb5af0;hb=fd6894350a266f4436055940e6220151a4fd43de;hp=9eda8b717661dacfc915f0aee84f04791b7eea62;hpb=df3bd7f742da8c015304fa21e01eb966ff76a089;p=bertos.git diff --git a/wizard/BFolderPage.py b/wizard/BFolderPage.py index 9eda8b71..dce305e0 100644 --- a/wizard/BFolderPage.py +++ b/wizard/BFolderPage.py @@ -91,14 +91,14 @@ class BFolderPage(BWizardPage): """ Slot called when the project name is changed manually by the user. """ - self._project_name = str(name).replace(" ", "_") + self._project_name = unicode(name).replace(" ", "_") self.setProjectPath() def directoryChanged(self, directory): """ Slot called when the project folder is changed manually by the user. """ - self._destination_folder = str(QDir.toNativeSeparators(directory)) + self._destination_folder = unicode(QDir.toNativeSeparators(directory)) self.setProjectPath() def selectDirectory(self):