1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 17:57:59 +00:00

migrate-to-repokey: ask using canonical_path() as we do everywhere else

This commit is contained in:
Marian Beermann 2017-02-04 15:16:18 +01:00
parent 4e0422cdf0
commit 5bc03cc042

View file

@ -476,7 +476,7 @@ def create(cls, repository, args):
@classmethod
def detect(cls, repository, manifest_data):
prompt = 'Enter passphrase for %s: ' % repository._location.orig
prompt = 'Enter passphrase for %s: ' % repository._location.canonical_path()
key = cls(repository)
passphrase = Passphrase.env_passphrase()
if passphrase is None: