diff --git a/bots/botslib.py b/bots/botslib.py index 2ea405c2..01f863c2 100644 --- a/bots/botslib.py +++ b/bots/botslib.py @@ -865,7 +865,7 @@ def __str__(self): fullhost = self._uri['hostname'] + port if self._uri['hostname'] else '' authority = '//' + userinfo + fullhost if fullhost else '' if self._uri['path'] or self._uri['filename']: - terug = os.path.join(authority,self._uri['path'],self._uri['filename']) + terug = authority + '/' + self._uri['path'] + '/' + self._uri['filename']) else: terug = authority return scheme + terug