|
|
@ -58,11 +58,11 @@ def batch_check(): |
|
|
|
remote_checksum = get_remote_checksum(local_backup_path) |
|
|
|
remote_checksum = get_remote_checksum(local_backup_path) |
|
|
|
local_checksum = get_local_checksum(local_backup_path) |
|
|
|
local_checksum = get_local_checksum(local_backup_path) |
|
|
|
if remote_checksum is None: |
|
|
|
if remote_checksum is None: |
|
|
|
print("? {local_checksum} -> (error)") |
|
|
|
print(f"? {local_checksum} -> (error)") |
|
|
|
elif remote_checksum == local_checksum: |
|
|
|
elif remote_checksum == local_checksum: |
|
|
|
print(" {local_checksum} -> {remote_checksum}") |
|
|
|
print(f" {local_checksum} -> {remote_checksum}") |
|
|
|
else: |
|
|
|
else: |
|
|
|
print("XXX {local_checksum} -> {remote_checksum}") |
|
|
|
print(f"XXX {local_checksum} -> {remote_checksum}") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__": |
|
|
|
if __name__ == "__main__": |
|
|
|