From: Simon Cross Date: Fri, 16 May 2014 23:40:58 +0000 (+0200) Subject: PEP8 fixes. X-Git-Tag: 0.1~144 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=266660e05f9b1a834544f11674dc493217b6d80e;p=naja.git PEP8 fixes. --- diff --git a/naja/scenes/menu.py b/naja/scenes/menu.py index a409b2a..d1812c5 100644 --- a/naja/scenes/menu.py +++ b/naja/scenes/menu.py @@ -48,7 +48,7 @@ class MenuScene(Scene): y_offset += y_diff load = TextWidget((x_offset, y_offset), 'Load', colour=PALETTE.WHITE, - centre=True) + centre=True) load.add_callback('click', self.scene_callback(LoadGameScene)) selector.add(load) @@ -76,7 +76,7 @@ class MenuScene(Scene): y_offset += y_diff quit = TextWidget((x_offset, y_offset), 'Quit', colour=PALETTE.WHITE, - centre=True) + centre=True) quit.add_callback('click', lambda event: QuitGameEvent.post()) selector.add(quit)