From 7f6db83b1d8a178434c3ce340a25ef90e043b2c9 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 4 Nov 2019 10:07:16 +0100 Subject: [PATCH] 5.0a81 --- royalnet/packs/royal/commands/trivia.py | 2 +- royalnet/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/royalnet/packs/royal/commands/trivia.py b/royalnet/packs/royal/commands/trivia.py index b85c08cf..3fdb1174 100644 --- a/royalnet/packs/royal/commands/trivia.py +++ b/royalnet/packs/royal/commands/trivia.py @@ -45,7 +45,7 @@ class TriviaCommand(Command): f" creatori di Tower Unite, e sono rilasciate sotto la licenza [b]CC BY-SA 4.0[/b].") return elif arg == "scores": - trivia_scores = await asyncify(data.session.query(self.alchemy.TriviaScore).all()) + trivia_scores = await asyncify(data.session.query(self.alchemy.TriviaScore).all) strings = ["🏆 [b]Trivia Leaderboards[/b]\n"] for index, ts in sorted(trivia_scores, key=lambda ts: -ts.correct_rate): if index > 3: diff --git a/royalnet/version.py b/royalnet/version.py index b2c7b766..0dddc9c3 100644 --- a/royalnet/version.py +++ b/royalnet/version.py @@ -1,4 +1,4 @@ -semantic = "5.0a80" +semantic = "5.0a81" if __name__ == "__main__": print(semantic)