From b2988d9c2efbcdeaf85f40d671afaa63f9dae0dc Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 21 Aug 2020 02:57:09 +0200 Subject: [PATCH] mocio --- pyproject.toml | 2 +- royalnet/backpack/commands/royalnetsync.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cb08660f..316099de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ [tool.poetry] name = "royalnet" -version = "5.11.1" +version = "5.11.2" description = "A multipurpose bot and web framework" authors = ["Stefano Pigozzi "] license = "AGPL-3.0+" diff --git a/royalnet/backpack/commands/royalnetsync.py b/royalnet/backpack/commands/royalnetsync.py index 0b547a4f..2ccec038 100644 --- a/royalnet/backpack/commands/royalnetsync.py +++ b/royalnet/backpack/commands/royalnetsync.py @@ -1,6 +1,5 @@ import royalnet.commands as rc import royalnet.serf.discord as rsd -import royalnet.serf.matrix as rsm import royalnet.serf.telegram as rst import royalnet.utils as ru from ..tables.discord import Discord @@ -86,8 +85,5 @@ class RoyalnetsyncCommand(rc.Command): await ru.asyncify(session.commit) await data.reply(f"↔️ Account {ds_user} synced to {ds_author}!") - elif isinstance(self.serf, rsm.MatrixSerf): - raise rc.UnsupportedError(f"{self} hasn't been implemented for Matrix yet") - else: raise rc.UnsupportedError(f"Unknown interface: {self.serf.__class__.__qualname__}")