From: Neil Date: Wed, 17 Apr 2013 14:07:57 +0000 (+0200) Subject: pep8 cleanup X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=203026d3f0f757c137628a3217c908fbb53bf5e7;p=erdslangetjie.git pep8 cleanup --- diff --git a/erdslangetjie/__main__.py b/erdslangetjie/__main__.py index ce2864b..aa261e4 100644 --- a/erdslangetjie/__main__.py +++ b/erdslangetjie/__main__.py @@ -256,9 +256,9 @@ class Screen(Widget): pos=((1026 - 200) / 2 - 100, 100)) self.stop_button.bind(on_ref_press=self.app.stop_app) self.start_button = Label( - text="[ref=start][color=00ff66]" + self.START + "[/color][/ref]", + text="[ref=start][color=00ff66]%s[/color][/ref]" % self.START, font_size=30, - markup = True, size=(200, 40), + markup=True, size=(200, 40), pos=((1026 - 200) / 2 + 100, 100)) self.start_button.bind(on_ref_press=self.app.start_game) self.add_widget(self.stop_button) diff --git a/erdslangetjie/constants.py b/erdslangetjie/constants.py index 85041cf..2b68d17 100644 --- a/erdslangetjie/constants.py +++ b/erdslangetjie/constants.py @@ -7,9 +7,9 @@ from kivy.logger import Logger, LoggerHistory QUIET = False # kivy logging - change for release if QUIET: - for hdlr in Logger.handlers[:]: - if not isinstance(hdlr, LoggerHistory): - Logger.removeHandler(hdlr) + for hdlr in Logger.handlers[:]: + if not isinstance(hdlr, LoggerHistory): + Logger.removeHandler(hdlr) from kivy.utils import platform from kivy.config import Config