diff options
-rw-r--r-- | bot/exts/info/source.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/source.py b/bot/exts/info/source.py index 4d2a9f38f..1c3387e53 100644 --- a/bot/exts/info/source.py +++ b/bot/exts/info/source.py @@ -69,7 +69,7 @@ class BotSource(commands.Cog): # Handle tag file location differently than others to avoid errors in some cases if not first_line_no: - file_location = Path(filename).relative_to("bot/") + file_location = Path(filename) else: file_location = Path(filename).relative_to(Path.cwd()).as_posix() |