diff --git a/mautrix_facebook/__main__.py b/mautrix_facebook/__main__.py index 9be78ad0..f20d089f 100644 --- a/mautrix_facebook/__main__.py +++ b/mautrix_facebook/__main__.py @@ -23,7 +23,6 @@ from mautrix.bridge import Bridge from mautrix.types import RoomID, UserID -from .analytics import init as init_analytics from .config import Config from .db import init as init_db, upgrade_table from .matrix import MatrixHandler @@ -35,6 +34,9 @@ from .version import linkified_version, version from .web import PublicBridgeWebsite +# analytics is skipped to avoid a circular import +from .analytics import init as init_analytics # isort:skip + class MessengerBridge(Bridge): name = "mautrix-facebook"