diff options
| author | 2020-10-28 09:31:01 +0200 | |
|---|---|---|
| committer | 2020-10-28 09:31:01 +0200 | |
| commit | 1b8610c83dacfe1b19f3efa5d3a2b66c4c6e1e5d (patch) | |
| tree | 14ed3fdb2d2503e5c8bad728570e74cee303f0ee | |
| parent | Update bot/exts/info/code_snippets.py (diff) | |
Removed unnecessary space before equals sign
| -rw-r--r-- | bot/exts/info/code_snippets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/code_snippets.py b/bot/exts/info/code_snippets.py index 4594c36f2..d854ebb4c 100644 --- a/bot/exts/info/code_snippets.py +++ b/bot/exts/info/code_snippets.py @@ -49,7 +49,7 @@ class CodeSnippets(Cog): def _find_ref(self, path: str, refs: tuple) -> tuple: """Loops through all branches and tags to find the required ref.""" # Base case: there is no slash in the branch name - ref, file_path = path.split('/', 1) + ref, file_path = path.split('/', 1) # In case there are slashes in the branch name, we loop through all branches and tags for possible_ref in refs: if path.startswith(possible_ref['name'] + '/'): |