kennnyshiwa / kennnyshiwa-cogs

Cogs for Red Discordbot
MIT License
19 stars 16 forks source link

[bug] lastfm cant load after new update. #43

Open kpopdev opened 3 years ago

kpopdev commented 3 years ago

[2021-04-12 16:13:24] [ERROR] red: Package loading failed Traceback (most recent call last): File "/root/redenv/lib/python3.8/site-packages/redbot/core/core_commands.py", line 171, in _load await bot.load_extension(spec) File "/root/redenv/lib/python3.8/site-packages/redbot/core/bot.py", line 1355, in load_extension lib = spec.loader.load_module() File "", line 462, in _check_name_wrapper File "", line 962, in load_module File "", line 787, in load_module File "", line 265, in _load_module_shim File "", line 702, in _load File "", line 671, in _load_unlocked File "", line 783, in exec_module File "", line 219, in _call_with_frames_removed File "/root/.local/share/Red-DiscordBot/data/candy/cogs/CogManager/cogs/lastfm/init.py", line 1, in from .lastfm import LastFM File "/root/.local/share/Red-DiscordBot/data/candy/cogs/CogManager/cogs/lastfm/lastfm.py", line 217 async def _api_request( ^ IndentationError: expected an indented block

tigattack commented 3 years ago

This will be fixed once #42 is merged.