mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-05 03:22:29 +00:00
Fix setup.py failing on Python < 3.6
This commit is contained in:

committed by
Lonami

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
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user