Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Commit

Permalink
Update utube_inline.py
Browse files Browse the repository at this point in the history
remove unnecessary `None`
  • Loading branch information
code-rgb authored Nov 22, 2020
1 parent 3c98681 commit 5bb25a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userge/plugins/bot/utube_inline.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ async def ytdl_callback(_, c_q: CallbackQuery):
)
except MessageIdInvalid:
inline_mode = False
todelete = STORE_DATA.get(i_q_id, None)
todelete = STORE_DATA.get(i_q_id)
if todelete:
bad_msg = await userge.get_messages(
todelete["chat_id"], todelete["msg_id"]
Expand Down

0 comments on commit 5bb25a8

Please sign in to comment.