Fixed a little error in the code generation dialog.

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

author
detlev@die-offenbachs.de
date
Tue, 28 Jun 2011 08:04:17 +0200
changeset 1137
1a37887aefa7
parent 1136
d1292f521624
child 1139
b18376d58832

Fixed a little error in the code generation dialog.

Project/CreateDialogCodeDialog.py file | annotate | diff | comparison | revisions
diff -r d1292f521624 -r 1a37887aefa7 Project/CreateDialogCodeDialog.py
--- a/Project/CreateDialogCodeDialog.py	Wed Jun 22 19:54:26 2011 +0200
+++ b/Project/CreateDialogCodeDialog.py	Tue Jun 28 08:04:17 2011 +0200
@@ -281,7 +281,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