summaryrefslogtreecommitdiff
path: root/gitlab/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/client.py')
-rw-r--r--gitlab/client.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gitlab/client.py b/gitlab/client.py
index ffb92e6..aa612c9 100644
--- a/gitlab/client.py
+++ b/gitlab/client.py
@@ -556,8 +556,7 @@ class Gitlab:
"""
if path.startswith("http://") or path.startswith("https://"):
return path
- else:
- return f"{self._url}{path}"
+ return f"{self._url}{path}"
def _check_redirects(self, result: requests.Response) -> None:
# Check the requests history to detect 301/302 redirections.