Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #324 from mautrix/fix-analytics-import
Browse files Browse the repository at this point in the history
fix analytics circular import
  • Loading branch information
the-newman authored Oct 9, 2023
2 parents 72e0c83 + 4135fc6 commit 86a9763
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mautrix_facebook/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit 86a9763

Please sign in to comment.