From 11b808e7789de45a8e2f5c1f138b5e0668cc179c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 3 Sep 2019 23:21:24 +0200 Subject: [PATCH] Swap true and false --- royalnet/commands/royalgames/trivia.py | 1 + 1 file changed, 1 insertion(+) diff --git a/royalnet/commands/royalgames/trivia.py b/royalnet/commands/royalgames/trivia.py index d23a6bde..b6385af2 100644 --- a/royalnet/commands/royalgames/trivia.py +++ b/royalnet/commands/royalgames/trivia.py @@ -51,6 +51,7 @@ class TriviaCommand(Command): random.shuffle(answers) elif question["type"] == "boolean": answers.sort(key=lambda a: a) + answers.reverse() else: raise NotImplementedError("Unknown question type") # Find the correct index