Fix importing dependencies during installing (#384)

This commit is contained in:
Andrei Fokau
2017-10-28 12:21:07 +02:00
committed by Lonami
parent e48f15be80
commit ef794bf75d
4 changed files with 13 additions and 18 deletions

View File

@@ -9,7 +9,7 @@ from signal import signal, SIGINT, SIGTERM, SIGABRT
from threading import Lock
from time import sleep
from . import helpers as utils
from . import helpers as utils, version
from .crypto import rsa, CdnDecrypter
from .errors import (
RPCError, BrokenAuthKeyError, ServerError,
@@ -60,7 +60,7 @@ class TelegramBareClient:
"""
# Current TelegramClient version
__version__ = '0.15.3'
__version__ = version.__version__
# TODO Make this thread-safe, all connections share the same DC
_config = None # Server configuration (with .dc_options)