mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-11 01:41:57 -04:00
Location.canonical_path: use empty host if host is None, see #8446
% borg repo-info Location: rclone:///./pcloud:justtesting
This commit is contained in:
parent
333663c39c
commit
136d3dc20e
1 changed files with 1 additions and 1 deletions
|
|
@ -619,7 +619,7 @@ class Location:
|
|||
return "{}://{}{}{}{}".format(
|
||||
self.proto if self.proto else "???",
|
||||
f"{self.user}@" if self.user else "",
|
||||
self._host, # needed for ipv6 addrs
|
||||
self._host if self._host else "", # needed for ipv6 addrs
|
||||
f":{self.port}" if self.port else "",
|
||||
path,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue