chiark / gitweb /
Fixed running of pypy (strange, this patch is in Alpha2 for SF45...)
authordaid <daid303@gmail.com>
Tue, 10 Jan 2012 16:31:08 +0000 (17:31 +0100)
committerdaid <daid303@gmail.com>
Tue, 10 Jan 2012 16:31:08 +0000 (17:31 +0100)
patches/41
patches/45
patches/46

index f621b9d63964ea5cca82a2b151e1c9312727a440..1978fbff7d501f05bcf71a3280c3514a42f9e928 100644 (file)
 +                      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.'
index 6b30762ff5042586b80438bffa96dd41f8bcb291..c650742b61074be0797130883ebe12ef4c72d0fe 100644 (file)
 +                      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.'
index e80b8ede4a1b1792aa61cb8e06a810166462642e..ea4fb3c454ad30b88119489f70156ece52bd0552 100644 (file)
 +                      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.'