Skip to content

Commit

Permalink
test 6
Browse files Browse the repository at this point in the history
  • Loading branch information
LazyDeveloperr authored Sep 10, 2023
1 parent bed9f10 commit bd26d09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lazybot/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
from configs import *
from pyrogram import Client
from util.config_parser import TokenParser
from . import multi_clients, work_loads, LazyPrincessBot
from . import multi_clients, work_loads, Bot


async def initialize_clients():
multi_clients[0] = LazyPrincessBot
multi_clients[0] = Bot
work_loads[0] = 0
all_tokens = TokenParser().parse_from_env()
if not all_tokens:
Expand Down
4 changes: 2 additions & 2 deletions util/render_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# for any error please contact me -> telegram@LazyDeveloperr or insta @LazyDeveloperr
# rip paid developers 🤣 - >> No need to buy paid source code while @LazyDeveloperr is here 😍😍
from configs import *
from lazybot import LazyPrincessBot
from lazybot import Bot
from util.human_readable import humanbytes
from util.file_properties import get_file_ids
from server.exceptions import InvalidHash
Expand All @@ -17,7 +17,7 @@


async def render_page(id, secure_hash):
file_data=await get_file_ids(LazyPrincessBot, int(STREAM_LOGS), int(id))
file_data=await get_file_ids(Bot, int(STREAM_LOGS), int(id))
if file_data.unique_id[:6] != secure_hash:
logging.debug(f'link hash: {secure_hash} - {file_data.unique_id[:6]}')
logging.debug(f"Invalid hash for message with - ID {id}")
Expand Down

0 comments on commit bd26d09

Please sign in to comment.