X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=tabakrolletjie%2Fgamestate.py;h=ca7f961466a1b841bb78fce2a11047e65d8f6c32;hb=272c2ba80ea242bf9084d5066ec87237793989e0;hp=03b5f23a1d424fe937124b0b1f8390ab86cfc58c;hpb=976f2df69b5a924cd2f7a234038f1fa43f9f8561;p=tabakrolletjie.git diff --git a/tabakrolletjie/gamestate.py b/tabakrolletjie/gamestate.py index 03b5f23..ca7f961 100644 --- a/tabakrolletjie/gamestate.py +++ b/tabakrolletjie/gamestate.py @@ -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