From a2ba9b245eeb6acab4d155eecd43392aed64c806 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Tue, 30 Oct 2018 21:40:41 +0200 Subject: [PATCH] Update mautrix.util imports --- maubot/config.py | 2 +- maubot/plugin.py | 2 +- maubot/plugin_base.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/maubot/config.py b/maubot/config.py index 6858482..699003c 100644 --- a/maubot/config.py +++ b/maubot/config.py @@ -16,7 +16,7 @@ import random import string -from mautrix.util import BaseFileConfig, ConfigUpdateHelper +from mautrix.util.config import BaseFileConfig, ConfigUpdateHelper class Config(BaseFileConfig): diff --git a/maubot/plugin.py b/maubot/plugin.py index 65875ef..facb0bf 100644 --- a/maubot/plugin.py +++ b/maubot/plugin.py @@ -19,7 +19,7 @@ from ruamel.yaml import YAML import logging import io -from mautrix.util import BaseProxyConfig, RecursiveDict +from mautrix.util.config import BaseProxyConfig, RecursiveDict from mautrix.types import UserID from .db import DBPlugin diff --git a/maubot/plugin_base.py b/maubot/plugin_base.py index b28ab4a..08d1211 100644 --- a/maubot/plugin_base.py +++ b/maubot/plugin_base.py @@ -24,7 +24,7 @@ import sqlalchemy as sql if TYPE_CHECKING: from .client import MaubotMatrixClient from .command_spec import CommandSpec - from mautrix.util import BaseProxyConfig + from mautrix.util.config import BaseProxyConfig class Plugin(ABC):