From 37534861d9bed44c8f9f8d05ff77edf570ac8c1e Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Mon, 12 Aug 2019 12:18:43 +0200 Subject: [PATCH] working on comparing checksums --- compare_checksums.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compare_checksums.py b/compare_checksums.py index 2ba28f6..bde9e10 100644 --- a/compare_checksums.py +++ b/compare_checksums.py @@ -58,11 +58,11 @@ def batch_check(): remote_checksum = get_remote_checksum(local_backup_path) local_checksum = get_local_checksum(local_backup_path) if remote_checksum is None: - print("? {local_checksum} -> (error)") + print(f"? {local_checksum} -> (error)") elif remote_checksum == local_checksum: - print(" {local_checksum} -> {remote_checksum}") + print(f" {local_checksum} -> {remote_checksum}") else: - print("XXX {local_checksum} -> {remote_checksum}") + print(f"XXX {local_checksum} -> {remote_checksum}") if __name__ == "__main__":