Use unicode instead of str
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 19 Dec 2008 09:21:25 +0000 (09:21 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 19 Dec 2008 09:21:25 +0000 (09:21 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2096 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BVersionPage.py

index 5ba51bd14841f05ea5a2b092756142418b56fa53..a5a9bd5ee58597eef58559d4a6bd709812fa126a 100644 (file)
@@ -60,7 +60,7 @@ class BVersionPage(BWizardPage):
 
     def isComplete(self):
         if self.pageContent.versionList.currentRow() != -1:
-            self._projectInfoStore("SOURCES_PATH", str(self.pageContent.versionList.currentItem().data(Qt.UserRole).toString()))
+            self._projectInfoStore("SOURCES_PATH", unicode(self.pageContent.versionList.currentItem().data(Qt.UserRole).toString()))
             return True
         else:
             return False