Skip to content

Commit

Permalink
Fix problem with relative path (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
GoberInfinity authored and akotadi committed Dec 29, 2023
1 parent ba12b39 commit 2e72487
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion otter_welcome_buddy/startup/cogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ async def register_cogs(bot: Bot) -> None:
]

for cog in allowed_cogs:
pass
# __file__ stores absolute path
if cog.__file__ is None:
print("Module doesn't have file path")
Expand Down

0 comments on commit 2e72487

Please sign in to comment.