diff options
author | 2023-11-25 15:14:14 -0600 | |
---|---|---|
committer | 2023-11-25 21:14:14 +0000 | |
commit | 9e2ff02405a162549b022ab6dacef72d90c389a4 (patch) | |
tree | bddd3b2897de03329a5c59b04c946b73dd1b9052 | |
parent | Bump pytest-xdist from 3.4.0 to 3.5.0 (#2823) (diff) |
Make tag file location not relative to bot (#2795)
-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() |