Fix setup.py failing on Python < 3.6

This commit is contained in:
Dmitry D. Chernov 2017-06-25 05:39:43 +10:00 committed by Lonami
parent a5ce375358
commit aa7e8dba8a

View File

@ -21,7 +21,7 @@ from setuptools import find_packages, setup
from telethon_generator.tl_generator import TLGenerator from telethon_generator.tl_generator import TLGenerator
try: try:
from telethon import TelegramClient from telethon import TelegramClient
except ModuleNotFoundError: except ImportError:
TelegramClient = None TelegramClient = None