mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-25 10:53:44 +03:00
Fix setup.py failing on Python < 3.6
This commit is contained in:
parent
a5ce375358
commit
aa7e8dba8a
2
setup.py
2
setup.py
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user