Fixed a bug in Project.getMainScript. 5_3_x

Thu, 26 Dec 2013 18:36:22 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 26 Dec 2013 18:36:22 +0100
branch
5_3_x
changeset 3157
0515293f05eb
parent 3153
50f68100e6ff
child 3162
5cb6da893fad

Fixed a bug in Project.getMainScript.

Project/Project.py file | annotate | diff | comparison | revisions
--- a/Project/Project.py	Thu Dec 19 15:07:01 2013 +0100
+++ b/Project/Project.py	Thu Dec 26 18:36:22 2013 +0100
@@ -2715,7 +2715,7 @@
             if normalized:
                 return os.path.join(self.ppath, self.pdata["MAINSCRIPT"][0])
             else:
-                return self.pdata["MAINSCRIPT"]
+                return self.pdata["MAINSCRIPT"][0]
         else:
             return None
         

eric ide

mercurial