From e12f68002b4350f3c56dafcc2f5a6c6110307734 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Wed, 27 Nov 2019 22:34:04 +0300 Subject: [PATCH] fix mtg --- bots/modules/_mtg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/modules/_mtg.py b/bots/modules/_mtg.py index b4434e9..f390c55 100644 --- a/bots/modules/_mtg.py +++ b/bots/modules/_mtg.py @@ -57,7 +57,7 @@ class MTG(object): return self.choose_start_words() return first_word, second_word else: - first_word = random.choice(self.MC[random.choice(self.MC.keys())]) + first_word = random.choice(self.MC[random.choice(list(self.MC.keys()))]) return self.choose_start_words(first_word, second_word) def generate_text(self, first_word=None, second_word=None, size=30):