Skip to content

Commit

Permalink
Auto-format code [skip actions]
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Dec 29, 2024
1 parent c31d3a8 commit a735501
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bot/core/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def add_handlers():

for regex_filter, handler_func in regex_filters.items():
TgClient.bot.add_handler(
CallbackQueryHandler(handler_func, filters=regex(regex_filter))
CallbackQueryHandler(handler_func, filters=regex(regex_filter)),
)

TgClient.bot.add_handler(
Expand Down
4 changes: 3 additions & 1 deletion bot/helper/aeon_utils/access_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,9 @@ async def token_check(user_id, button=None):

time_str = get_readable_time(token_timeout, True)
button = button or ButtonMaker()
short_link = await short(f"https://telegram.me/{TgClient.NAME}?start={token}")
short_link = await short(
f"https://telegram.me/{TgClient.NAME}?start={token}"
)
button.url_button("Collect token", short_link)
msg = "Your token has expired, please collect a new token"
if Config.PAID_CHAT_ID and Config.PAID_CHAT_LINK:
Expand Down
2 changes: 1 addition & 1 deletion bot/modules/mirror_leech.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ async def new_event(self):
reply_to,
f"{path}/",
session,
)
),
)
return None
if isinstance(self.link, dict):
Expand Down

0 comments on commit a735501

Please sign in to comment.