From 83f4e1a7696ca950561b843a1bf142331ad43e24 Mon Sep 17 00:00:00 2001 From: daid Date: Tue, 10 Jan 2012 17:31:08 +0100 Subject: [PATCH] Fixed running of pypy (strange, this patch is in Alpha2 for SF45...) --- patches/41 | 2 +- patches/45 | 2 +- patches/46 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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.' -- 2.30.2