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

Commit

Permalink
fix analytics circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
John Newman committed Oct 9, 2023
1 parent ad29483 commit 4135fc6
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 4135fc6

Please sign in to comment.