PluginCxFreeze.py

changeset 23
0ea5e51bc627
parent 21
de49f07bb6bf
child 24
4c8a4e5377c6
--- a/PluginCxFreeze.py	Wed Apr 27 18:37:18 2011 +0200
+++ b/PluginCxFreeze.py	Thu Apr 28 19:53:46 2011 +0200
@@ -60,9 +60,9 @@
     exe = _findExecutable()
     if exe:
         data["exe"] = exe
-        if exe.startswith("FreezePython"):
+        if "FreezePython" in exe:
             data["versionStartsWith"] = "FreezePython"
-        elif exe.startswith("cxfreeze"):
+        elif "cxfreeze" in exe:
             data["versionStartsWith"] = "cxfreeze"
     
     return data

eric ide

mercurial