mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
Potential bugfix for some lazycoding in spotipy...
Another one. fuck it
This commit is contained in:
@@ -1074,9 +1074,9 @@ async def get_file(ctx, source, link):
|
||||
dir_path = None
|
||||
item_type, item_id = spotify.parse_spotify_url(link)
|
||||
if item_id:
|
||||
coro = asyncio.to_thread(spotify.fetch_tracks, args=(spotify_ctrl, item_type, link))
|
||||
coro = asyncio.to_thread(spotify.fetch_tracks, spotify_ctrl, item_type, link)
|
||||
file_list = await coro
|
||||
coro = asyncio.to_thread(spotify.get_item_name, args=(spotify_ctrl, item_type, item_id))
|
||||
coro = asyncio.to_thread(spotify.get_item_name, spotify_ctrl, item_type, item_id)
|
||||
directory_name = await coro
|
||||
url_data = {"urls": []}
|
||||
url_dict = {}
|
||||
|
||||
Reference in New Issue
Block a user