aboutsummaryrefslogtreecommitdiff
path: root/modules/ducks.py
diff options
context:
space:
mode:
authorGravatar dngfx2018-09-08 17:02:03 +0100
committerGravatar dongfix2018-09-08 17:02:03 +0100
commit54c9616d4c72c8c8985f4753b2ea780e04c6d71f (patch)
tree351a352da5db812dd05d73f0694400b625d8a692 /modules/ducks.py
parentPEP8 Compliance. (diff)
signature
8ball answer updates and ducks.py fix.
Diffstat (limited to 'modules/ducks.py')
-rw-r--r--modules/ducks.py2
1 files changed, 1 insertions, 1 deletions
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