瀏覽代碼

Merge pull request #8748 from destructor64/key_import_error_message_fix-1.4

Fix paper key import error message
TW 1 月之前
父節點
當前提交
0fe038192c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/borg/crypto/keymanager.py

+ 1 - 1
src/borg/crypto/keymanager.py

@@ -177,7 +177,7 @@ class KeyManager:
                     try:
                         (id_lines, id_repoid, id_complete_checksum) = data.split('/')
                     except ValueError:
-                        print("the id line must contain exactly three '/', try again")
+                        print("the id line must contain exactly two '/', try again")
                         continue
                     if sha256_truncated(data.lower().encode('ascii'), 2) != checksum:
                         print('line checksum did not match, try same line again')