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.

export-search: Realm is required.

Alex Vandiverae20af84a9b5
diff --git a/zerver/management/commands/export_search.py b/zerver/management/commands/export_search.py
index 4904e49c4fd..edaa45c1db7 100644
--- a/zerver/management/commands/export_search.py
+++ b/zerver/management/commands/export_search.py
@@ -86,6 +86,7 @@ This is most often used for legal compliance.
)
realm = self.get_realm(options)
+ assert realm is not None
limits = Q()
limits = reduce(