(Fix) Fix api_id type mismatch

This commit is contained in:
Goblenus 2017-06-11 23:42:04 +03:00 committed by Lonami
parent 1ca41b5854
commit f083b88f59

View File

@ -57,7 +57,7 @@ class TelegramBareClient:
can also be specified to be used on the connection.
"""
self.session = session
self.api_id = api_id
self.api_id = int(api_id)
self.api_hash = api_hash
self.proxy = proxy
self._logger = logging.getLogger(__name__)