diff options
Diffstat (limited to 'pycrctrl.pyp')
| -rw-r--r-- | pycrctrl.pyp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pycrctrl.pyp b/pycrctrl.pyp index a37b643..2cd8dce 100644 --- a/pycrctrl.pyp +++ b/pycrctrl.pyp @@ -145,10 +145,10 @@ class PyCRCtrl(object): return "PyCRCtrl: commandline: {}, channel: {}, scenario: {}".format(self.commandline, self.channels["ingame"], (self.scenario if self.scenario != "" else "None")) @property - def getState(self): + def state(self): return self.__state - @self.getState.setter + @state.setter def setState(self, text): if text in ["Lobby", "Lädt", "Läuft"]: self.__state = text |
