Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

analytics: Fix misplaced zilencer import statement.

Tim Abbott807de3756134
diff --git a/analytics/views/support.py b/analytics/views/support.py
index 9ab4f42cfb3..70425524b4e 100644
--- a/analytics/views/support.py
+++ b/analytics/views/support.py
@@ -47,10 +47,9 @@ from zerver.models import (
get_user_profile_by_id,
)
from zerver.views.invite import get_invitee_emails_set
-from zilencer.lib.remote_counts import MissingDataError
if settings.ZILENCER_ENABLED:
- from zilencer.lib.remote_counts import compute_max_monthly_messages
+ from zilencer.lib.remote_counts import MissingDataError, compute_max_monthly_messages
from zilencer.models import RemoteZulipServer
if settings.BILLING_ENABLED: