- Fix authorization error
pull/1/head
hikariatama 2022-09-05 06:17:05 +00:00
parent 3a357b762c
commit 6476c4adda
5 changed files with 11 additions and 5 deletions

View File

@ -1,5 +1,9 @@
# Hikka Changelog
## 🌑 Hikka 1.4.2
- Fix authorization error
## 🌑 Hikka 1.4.1
- Create new type :obj:`hikka.tl_cache.CustomTelegramClient` to avoid monkeypatching

View File

@ -7,7 +7,7 @@ name = 'pypi'
python_version = '3.9.13'
[packages]
hikka-tl = '==1.24.9'
hikka-tl = '==1.24.10'
aiofile = '==3.8.1'
pythondialog = '==3.5.3'
gitpython = '==3.1.27'

View File

@ -103,7 +103,9 @@ elif __package__ != "hikka": # In case they did python __main__.py
print("🚫 Error: you cannot run this as a script; you must execute as a package")
else:
try:
import telethon # noqa: F401
# If telethon is not installed, just skip to a part of main startup
# then main.py will through an error and re-install all deps
import telethon
except Exception:
pass
else:
@ -114,7 +116,7 @@ else:
from telethon.extensions.html import CUSTOM_EMOJIS # skipcq
import telethon
if tuple(map(int, telethon.__version__.split("."))) < (1, 24, 9):
if tuple(map(int, telethon.__version__.split("."))) < (1, 24, 10):
raise ImportError
except ImportError:
print("🔄 Reinstalling Hikka-TL...")

View File

@ -1,5 +1,5 @@
"""Represents current userbot version"""
__version__ = (1, 4, 1)
__version__ = (1, 4, 2)
import git
import os

View File

@ -1,4 +1,4 @@
hikka-tl==1.24.9
hikka-tl==1.24.10
aiofile==3.8.1
pythondialog==3.5.3
gitpython==3.1.27