Fixed a little error in the code generation dialog. 5_1_x

Tue, 28 Jun 2011 08:04:17 +0200

author
detlev@die-offenbachs.de
date
Tue, 28 Jun 2011 08:04:17 +0200
branch
5_1_x
changeset 1138
3104df9e1fd0
parent 1135
ad5f054e2b2c
child 1141
3017c0a73c73

Fixed a little error in the code generation dialog.
(transplanted from 1a37887aefa7d84c8f4e4f6747846e43741f90b2)

Project/CreateDialogCodeDialog.py file | annotate | diff | comparison | revisions
diff -r ad5f054e2b2c -r 3104df9e1fd0 Project/CreateDialogCodeDialog.py
--- a/Project/CreateDialogCodeDialog.py	Tue Jun 21 18:38:38 2011 +0200
+++ b/Project/CreateDialogCodeDialog.py	Tue Jun 28 08:04:17 2011 +0200
@@ -279,7 +279,7 @@
         elif self.filenameEdit.text().endswith(".rb"):
             pass
         # second decide on project language
-        elif self.project.getProjectLanguage() in ["Python", "Python3"]:
+        elif self.project.getProjectLanguage() in ["Python2", "Python3"]:
             self.__generatePythonCode()
         elif self.project.getProjectLanguage() == "Ruby":
             pass

eric ide

mercurial