diff options
author | Chris Ball <cjb@pullcord.laptop.org> | 2007-12-12 03:49:34 (GMT) |
---|---|---|
committer | Chris Ball <cjb@pullcord.laptop.org> | 2007-12-12 03:49:34 (GMT) |
commit | 4313748c016e8a9fe815a1c8a6460237ead0f8fe (patch) | |
tree | 561785a72e978c0e13f4879d85914f891b86caa9 /library | |
parent | 0efe329cf54906af796b016f89c805bef6f2b6c9 (diff) |
Disable the suspend call in pause() for now.
Diffstat (limited to 'library')
-rw-r--r-- | library/pippy/game.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/pippy/game.py b/library/pippy/game.py index c3f6f65..73bc5ca 100644 --- a/library/pippy/game.py +++ b/library/pippy/game.py @@ -32,10 +32,10 @@ def pause(): pygame.display.flip() # SUSPEND - try: - open('/sys/power/state','w').write('mem') - except: # XXX: couldn't suspend (no permissions?) - pygame.event.post(pygame.event.wait()) + # try: + # open('/sys/power/state','w').write('mem') + # except: # XXX: couldn't suspend (no permissions?) + # pygame.event.post(pygame.event.wait()) pygame.display.set_caption(caption, icon_caption) screen.blit(old_screen, (0,0)) |