Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Format code.
  • Loading branch information
KSKOP69 authored Nov 8, 2024
2 parents 5162f15 + 6c6b34b commit 2926579
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion AlexaMusic/platforms/Telegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,4 @@ async def progress(current, total):
if not verify:
return False
lyrical.pop(mystic.message_id)
return True
return True
2 changes: 1 addition & 1 deletion AlexaMusic/platforms/Youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,4 +374,4 @@ def song_audio_dl():
else:
direct = True
downloaded_file = await loop.run_in_executor(None, audio_dl)
return downloaded_file, direct
return downloaded_file, direct
4 changes: 3 additions & 1 deletion AlexaMusic/plugins/bot/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ async def settings_cb(client, CallbackQuery, _):

@app.on_callback_query(filters.regex("settingsback_helper") & ~BANNED_USERS)
@languageCB
async def settings_back_markup(client, CallbackQuery: CallbackQuery, _, message: Message):
async def settings_back_markup(
client, CallbackQuery: CallbackQuery, _, message: Message
):
try:
await CallbackQuery.answer()
except:
Expand Down
2 changes: 1 addition & 1 deletion AlexaMusic/plugins/play/play.py
Original file line number Diff line number Diff line change
Expand Up @@ -671,4 +671,4 @@ async def slider_queries(client, CallbackQuery, _):
)
return await CallbackQuery.edit_message_media(
media=med, reply_markup=InlineKeyboardMarkup(buttons)
)
)
2 changes: 1 addition & 1 deletion AlexaMusic/utils/decorators/admins.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,4 @@ async def wrapper(client, CallbackQuery):
return await CallbackQuery.answer(f"Error: {str(e)}")
return await mystic(client, CallbackQuery, _)

return wrapper
return wrapper
2 changes: 1 addition & 1 deletion AlexaMusic/utils/decorators/language.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ async def wrapper(_, message, **kwargs):
language = get_string("en")
return await mystic(_, message, language)

return wrapper
return wrapper
2 changes: 1 addition & 1 deletion AlexaMusic/utils/decorators/play.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,4 +207,4 @@ async def wrapper(client, message):
fplay,
)

return wrapper
return wrapper
2 changes: 1 addition & 1 deletion AlexaMusic/utils/formatters.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,4 @@ def seconds_to_min(seconds):
"f4p",
"f4a",
"f4b",
]
]

0 comments on commit 2926579

Please sign in to comment.