From 7936d5b291a671bc0b8fb1bb6251dd3b2ef329fd Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 5 Nov 2019 15:43:01 +0100 Subject: [PATCH] 5.0a87 --- royalnet/packs/royal/commands/diarioquote.py | 2 +- royalnet/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/royalnet/packs/royal/commands/diarioquote.py b/royalnet/packs/royal/commands/diarioquote.py index aa2051e4..adaf74f1 100644 --- a/royalnet/packs/royal/commands/diarioquote.py +++ b/royalnet/packs/royal/commands/diarioquote.py @@ -19,7 +19,7 @@ class DiarioquoteCommand(Command): entry_id = int(args[0].lstrip("#")) except ValueError: raise CommandError("L'id che hai specificato non รจ valido.") - entry: Diario = await data.session.query(self.alchemy.Diario).get(entry_id) + entry: Diario = await asyncify(data.session.query(self.alchemy.Diario).get, entry_id) if entry is None: raise CommandError("Nessuna riga con quell'id trovata.") await data.reply(str(entry)) diff --git a/royalnet/version.py b/royalnet/version.py index fd7ab2d4..5fe5f1f6 100644 --- a/royalnet/version.py +++ b/royalnet/version.py @@ -1,4 +1,4 @@ -semantic = "5.0a86" +semantic = "5.0a87" if __name__ == "__main__": print(semantic)