From: daid Date: Tue, 10 Jan 2012 16:31:08 +0000 (+0100) Subject: Fixed running of pypy (strange, this patch is in Alpha2 for SF45...) X-Git-Tag: RC1~181 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=83f4e1a7696ca950561b843a1bf142331ad43e24;p=cura.git Fixed running of pypy (strange, this patch is in Alpha2 for SF45...) --- diff --git a/patches/41 b/patches/41 index f621b9d6..1978fbff 100644 --- a/patches/41 +++ b/patches/41 @@ -745,7 +745,7 @@ + if pypyExe == False or platform.python_implementation() == "PyPy": + skeinforge_craft.writeOutput(fileName) + else: -+ subprocess.call([pypyExe, fileName]) ++ subprocess.call([pypyExe, __file__, fileName]) def save(self): 'Profile has been saved and profile menu should be updated.' diff --git a/patches/45 b/patches/45 index 6b30762f..c650742b 100644 --- a/patches/45 +++ b/patches/45 @@ -432,7 +432,7 @@ + if pypyExe == False or platform.python_implementation() == "PyPy": + skeinforge_craft.writeOutput(fileName) + else: -+ subprocess.call([pypyExe, fileName]) ++ subprocess.call([pypyExe, __file__, fileName]) def save(self): 'Profile has been saved and profile menu should be updated.' diff --git a/patches/46 b/patches/46 index e80b8ede..ea4fb3c4 100644 --- a/patches/46 +++ b/patches/46 @@ -4565,7 +4565,7 @@ + if pypyExe == False or platform.python_implementation() == "PyPy": + skeinforge_craft.writeOutput(fileName) + else: -+ subprocess.call([pypyExe, fileName]) ++ subprocess.call([pypyExe, __file__, fileName]) def save(self): 'Profile has been saved and profile menu should be updated.'