From 715659485819406cd8267863a44c797d8da33726 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 12 Feb 2023 12:53:19 +0200 Subject: [PATCH] Fix import order --- maubot/client.py | 2 +- maubot/instance.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/maubot/client.py b/maubot/client.py index 99816f6..bdb76fc 100644 --- a/maubot/client.py +++ b/maubot/client.py @@ -41,9 +41,9 @@ from mautrix.types import ( SyncToken, UserID, ) +from mautrix.util import background_task from mautrix.util.async_getter_lock import async_getter_lock from mautrix.util.logging import TraceLogger -from mautrix.util import background_task from .db import Client as DBClient from .matrix import MaubotMatrixClient diff --git a/maubot/instance.py b/maubot/instance.py index 67b82b5..c63e5ab 100644 --- a/maubot/instance.py +++ b/maubot/instance.py @@ -28,11 +28,11 @@ from ruamel.yaml.comments import CommentedMap import sqlalchemy as sql from mautrix.types import UserID +from mautrix.util import background_task from mautrix.util.async_db import Database, Scheme, UpgradeTable from mautrix.util.async_getter_lock import async_getter_lock from mautrix.util.config import BaseProxyConfig, RecursiveDict from mautrix.util.logging import TraceLogger -from mautrix.util import background_task from .client import Client from .db import DatabaseEngine, Instance as DBInstance