Mercurial > pyntnclick
diff pyntnclick/main.py @ 661:5dc866e1d71d pyntnclick
Misc pep8 and pyflakes fixes
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Sun, 12 Feb 2012 15:00:53 +0200 |
parents | c77d6aa29bee |
children | f67bc162d69e |
line wrap: on
line diff
--- a/pyntnclick/main.py Sun Feb 12 14:48:47 2012 +0200 +++ b/pyntnclick/main.py Sun Feb 12 15:00:53 2012 +0200 @@ -136,7 +136,7 @@ if self.constants.debug and opts.list_scenes: # FIXME: Horrible hack to avoid image loading issues for # now - display = pygame.display.set_mode(self.constants.screen, + pygame.display.set_mode(self.constants.screen, SWSURFACE) list_scenes(self.initial_state) sys.exit(0) @@ -144,7 +144,7 @@ if opts.scene is None: print 'Need to supply a scene to use the rect drawer' sys.exit(1) - display = make_rect_display() + make_rect_display() # FIXME: Remove Albow from here try: self.engine = RectEngine(self, self.initial_state, opts.scene,