mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-11 01:41:57 -04:00
fix canonical_path() missing ':' before port number
This commit is contained in:
parent
f0d324e319
commit
f740c476df
1 changed files with 1 additions and 1 deletions
|
|
@ -708,7 +708,7 @@ class Location:
|
|||
f"{self.proto}://"
|
||||
f"{(self.user + '@') if self.user else ''}"
|
||||
f"{self._host if self._host else ''}"
|
||||
f"{self.port if self.port else ''}/"
|
||||
f"{(':' + str(self.port)) if self.port else ''}/"
|
||||
f"{self.path}"
|
||||
)
|
||||
raise NotImplementedError(self.proto)
|
||||
|
|
|
|||
Loading…
Reference in a new issue