Merge branch 'master' into dispatcher

This commit is contained in:
Dan 2018-04-08 13:21:30 +02:00
commit 13d25f4e4a

View File

@ -147,7 +147,7 @@ class Client:
last_name: str = None, last_name: str = None,
workers: int = 4): workers: int = 4):
self.session_name = session_name self.session_name = session_name
self.api_id = int(api_id) self.api_id = int(api_id) if api_id else None
self.api_hash = api_hash self.api_hash = api_hash
self.proxy = proxy self.proxy = proxy
self.test_mode = test_mode self.test_mode = test_mode