mirror of https://github.com/coddrago/Heroku
Update dependencies, add pyrogram reinstallation
parent
15c2e3465f
commit
469f6d1733
|
@ -66,13 +66,9 @@ else:
|
|||
pass
|
||||
else:
|
||||
try:
|
||||
# This is used as verification markers to ensure that supported
|
||||
# version is installed
|
||||
from telethon.tl.types import MessageEntityCustomEmoji # skipcq
|
||||
from telethon.extensions.html import CUSTOM_EMOJIS # skipcq
|
||||
import telethon
|
||||
|
||||
if tuple(map(int, telethon.__version__.split("."))) < (1, 24, 10):
|
||||
if tuple(map(int, telethon.__version__.split("."))) < (1, 24, 11):
|
||||
raise ImportError
|
||||
except ImportError:
|
||||
print("🔄 Reinstalling Hikka-TL...")
|
||||
|
@ -111,6 +107,11 @@ else:
|
|||
|
||||
log.init()
|
||||
|
||||
import pyrogram
|
||||
|
||||
if tuple(map(int, pyrogram.__version__.split("."))) < (2, 0, 59):
|
||||
raise ImportError
|
||||
|
||||
from . import main
|
||||
except ModuleNotFoundError as e:
|
||||
deps(e)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
hikka-tl==1.24.10
|
||||
hikka-tl==1.24.11
|
||||
aiofile==3.8.1
|
||||
pythondialog==3.5.3
|
||||
gitpython==3.1.27
|
||||
|
@ -10,5 +10,6 @@ requests==2.27.1
|
|||
aiogram==2.19
|
||||
grapheme==0.6.0
|
||||
emoji==2.1.0
|
||||
pyrogram==2.0.59
|
||||
|
||||
# Python 3.8+
|
||||
|
|
Loading…
Reference in New Issue