From 36960f2650d1aa89b44a7c01b0c0e1f6cba5ec85 Mon Sep 17 00:00:00 2001 From: Fulgen301 Date: Thu, 22 Dec 2016 18:50:20 +0100 Subject: Fix property --- pycrctrl.pyp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pycrctrl.pyp') diff --git a/pycrctrl.pyp b/pycrctrl.pyp index 2cd8dce..6204f5d 100644 --- a/pycrctrl.pyp +++ b/pycrctrl.pyp @@ -149,7 +149,7 @@ class PyCRCtrl(object): return self.__state @state.setter - def setState(self, text): + def state(self, text): if text in ["Lobby", "Lädt", "Läuft"]: self.__state = text self.setTopic("Aktuelles Szenario: {} | {}".format(self.scenario, self.state)) -- cgit v1.2.3-54-g00ecf