Skip to content

Commit

Permalink
Update category_callbacks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ch3p4ll3 authored Feb 6, 2024
1 parent 2484a6c commit b74647b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bot/plugins/callbacks/category/category_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ async def category(client: Client, callback_query: CallbackQuery, user: User) ->

if categories is None:
if "magnet" in callback_query.data:
await add_magnet_callback(client, callback_query, user)
await add_magnet_callback(client, callback_query)

else:
await add_torrent_callback(client, callback_query, user)
await add_torrent_callback(client, callback_query)

return

Expand Down

0 comments on commit b74647b

Please sign in to comment.