Update token_obtainment.py

pull/178/head
Who? 2025-08-27 13:20:21 +07:00 committed by GitHub
parent 935251bd59
commit 431ec8e201
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,7 @@
import asyncio
import logging
import re
import os
from herokutl.errors.rpcerrorlist import YouBlockedUserError
from herokutl.tl.functions.contacts import UnblockRequest
@ -78,7 +79,7 @@ class TokenObtainment(InlineUnit):
await fw_protect()
from .. import main
m = await conv.send_file("../assets/heroku.png")
m = await conv.send_file(f"{os.getcwd()}/assets/heroku.png")
r = await conv.get_response()
logger.debug(">> <Photo>")
@ -226,7 +227,7 @@ class TokenObtainment(InlineUnit):
await fw_protect()
from .. import main
m = await conv.send_file("../assets/heroku.png")
m = await conv.send_file(f" {os.getcwd()}/assets/heroku.png")
r = await conv.get_response()
logger.debug(">> <Photo>")