From d16507c49b10bdcfc70aa6f813182ec26a4be2da Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 9 Sep 2016 21:04:03 +0200 Subject: [PATCH] Flake8 --- tabakrolletjie/scenes/day.py | 4 ++-- tabakrolletjie/scenes/night.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tabakrolletjie/scenes/day.py b/tabakrolletjie/scenes/day.py index c280702..5674ab2 100644 --- a/tabakrolletjie/scenes/day.py +++ b/tabakrolletjie/scenes/day.py @@ -61,7 +61,7 @@ class DayScene(BaseScene): brightness = brightness.convert_alpha() brightness.fill((255, 255, 255, 50)) surface.blit(brightness, (0, 0)) - + for turnip in self._turnips: turnip.render(surface) self._lights.render_light(surface) @@ -122,7 +122,7 @@ class DayScene(BaseScene): def _update_toolbar(self, gamestate): text = ("Turnip Stocks: Seeds: %d. Planted: %d. " - "Harvested: %d. Destroyed: %d" % + "Harvested: %d. Destroyed: %d" % (self._seeds, len(self._turnips), self._harvested, gamestate.eaten)) self._toolbar = self._toolbar_font.render(text, True, (255, 255, 255)) diff --git a/tabakrolletjie/scenes/night.py b/tabakrolletjie/scenes/night.py index fe1fae3..ffc2ee9 100644 --- a/tabakrolletjie/scenes/night.py +++ b/tabakrolletjie/scenes/night.py @@ -33,7 +33,7 @@ class NightScene(BaseScene): darkness = darkness.convert_alpha() darkness.fill((0, 0, 0, 150)) surface.blit(darkness, (0, 0)) - + self._mould.render(surface) for turnip in self._turnips[:]: -- 2.34.1