From b5a9d30201f972bf768fbacd591a3aa8a904e063 Mon Sep 17 00:00:00 2001 From: barrybingo Date: Sun, 13 Dec 2020 11:31:01 +0000 Subject: [PATCH] B2 buckets can't contain a slash so simplify error message --- management/backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/backup.py b/management/backup.py index e8c04626..1a7cdedb 100755 --- a/management/backup.py +++ b/management/backup.py @@ -462,7 +462,7 @@ def list_target_files(config): # With a slash anywhere after b2::// the above urlparse will put something into target.path, thus if not "".__eq__(target.path): raise ValueError("""No B2 configuration option can contain '/' the foward slash character. - Please create a new API key or Bucket that does not contain any forward slashes""") + Please create a new API key that does not contain any forward slashes""") from b2sdk.v1 import InMemoryAccountInfo, B2Api from b2sdk.v1.exception import NonExistentBucket