Flake8
authorNeil <neil@dip.sun.ac.za>
Thu, 8 Sep 2016 21:45:52 +0000 (23:45 +0200)
committerNeil <neil@dip.sun.ac.za>
Thu, 8 Sep 2016 21:45:52 +0000 (23:45 +0200)
tabakrolletjie/gamestate.py
tabakrolletjie/scenes/night.py

index 03b5f23a1d424fe937124b0b1f8390ab86cfc58c..ca7f961466a1b841bb78fce2a11047e65d8f6c32 100644 (file)
@@ -27,7 +27,8 @@ class GameState(object):
     def seeds(self):
         if 'seeds' in self._state:
             return self._state['seeds']
-        elif self._state["station"] and 'seeds' in self._state["station"]["config"]:
+        elif (self._state["station"] and
+                'seeds' in self._state["station"]["config"]):
             self._state['seeds'] = self._state["station"]["config"]["seeds"]
             return self._state['seeds']
         return 0
index 3f63f872dd408b8a16963b343821b60b3eca6c6c..72e6c84167f1f4c52d0be41b6b1134a178196ab6 100644 (file)
@@ -24,7 +24,6 @@ class NightScene(BaseScene):
             turnip = Turnip(space=self._space, **turnip_data)
             self._turnips.append(turnip)
 
-
     @debug_timer("night.render")
     def render(self, surface, gamestate):
         surface.fill((0, 0, 155))