From 203026d3f0f757c137628a3217c908fbb53bf5e7 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 17 Apr 2013 16:07:57 +0200 Subject: [PATCH] pep8 cleanup --- erdslangetjie/__main__.py | 4 ++-- erdslangetjie/constants.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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 -- 2.34.1