Fix error 400:CONNECTION_APP_VERSION_EMPTY when using temporary sessions

This commit is contained in:
Dmitry D. Chernov 2017-06-19 07:20:36 +10:00
parent 8afb0a3f6b
commit 2af962230f

View File

@ -110,7 +110,7 @@ class JsonSession:
# For connection purposes # For connection purposes
self.device_model = platform.node() self.device_model = platform.node()
self.system_version = platform.system() self.system_version = platform.system()
self.app_version = '0' self.app_version = '1.0' # note: '0' will provoke error
self.lang_code = 'en' self.lang_code = 'en'
elif isinstance(session_user_id, JsonSession): elif isinstance(session_user_id, JsonSession):