Fix no_campaign keyerror
This commit is contained in:
1 parent
5afc7ec27d
commit
6d5191e148
1 file changed
+1
-1
@@ -275,7 +275,7 @@ class Twitch:
|
|||||||
self.change_state(State.CHANNELS_FETCH)
|
self.change_state(State.CHANNELS_FETCH)
|
||||||
else:
|
else:
|
||||||
# with no games available, we switch to IDLE after cleanup
|
# with no games available, we switch to IDLE after cleanup
|
||||||
self.gui.print(_("gui", "status", "no_campaigns"))
|
self.gui.print(_("status", "no_campaign"))
|
||||||
self.change_state(State.IDLE)
|
self.change_state(State.IDLE)
|
||||||
elif self._state is State.CHANNELS_FETCH:
|
elif self._state is State.CHANNELS_FETCH:
|
||||||
self.gui.status.update(_("gui", "status", "gathering"))
|
self.gui.status.update(_("gui", "status", "gathering"))
|
||||||
|
|||||||
Reference in new issue
Block a user