Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwarwickmm <warwickmm@users.noreply.github.com>2022-04-17 05:36:19 +0300
committerGitHub <noreply@github.com>2022-04-17 05:36:19 +0300
commit737cbcde2a28ae2988e5e9fa0a098318031595f4 (patch)
tree65219f389cff66bc39a5a99cdb606285695e1dbe
parent1d9a63eaf06c001cbd13496f6f4ccd3d0edc3baa (diff)
parent1fb1856b377ba0f2fb060b89572449500342b284 (diff)
Merge pull request #4707 from mr-flibble/patch-1
Fix handling of deleted state in DuplicatiVerify.py
-rw-r--r--Tools/Verification/DuplicatiVerify.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Tools/Verification/DuplicatiVerify.py b/Tools/Verification/DuplicatiVerify.py
index f0372cdf4..190afe0cc 100644
--- a/Tools/Verification/DuplicatiVerify.py
+++ b/Tools/Verification/DuplicatiVerify.py
@@ -46,11 +46,13 @@ def verifyHashes(filename, quiet = True, buffer_size=8192):
filename = file["Name"]
hash = file["Hash"]
size = file["Size"]
+ state = file["State"]
fullpath = os.path.join(folder, filename)
if not os.path.exists(fullpath):
- print("File missing:", fullpath)
- errorCount += 1
+ if state != 5:
+ print("File missing:", fullpath)
+ errorCount += 1
else:
checked += 1
if not quiet: