diff --git a/zulip/zulip/__init__.py b/zulip/zulip/__init__.py index 1247dd8..2f9c706 100644 --- a/zulip/zulip/__init__.py +++ b/zulip/zulip/__init__.py @@ -461,6 +461,7 @@ class Client(object): req_files.append((f.name, f)) self.ensure_session() + assert(self.session is not None) query_state = { 'had_error_retry': False,