From 54c9616d4c72c8c8985f4753b2ea780e04c6d71f Mon Sep 17 00:00:00 2001 From: dngfx Date: Sat, 8 Sep 2018 17:02:03 +0100 Subject: 8ball answer updates and ducks.py fix. --- modules/ducks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/ducks.py') diff --git a/modules/ducks.py b/modules/ducks.py index 31a7fbe9..a3b3c80f 100644 --- a/modules/ducks.py +++ b/modules/ducks.py @@ -79,7 +79,7 @@ class Module(object): if hasattr(channel, 'games') == False: return False - if hasattr(channel["games"], 'ducks') == False: + if "ducks" not in channel.games.keys(): return False return True -- cgit v1.3.1-10-gc9f91