Add debug message when calculating MD5 checksum

This commit is contained in:
grossmj committed 2023-08-02 17:41:51 +10:00
1 parent 658bfb7624
commit af83adfdf6
1 file changed
+1
+1
View File
@@ -167,6 +167,7 @@ def md5sum(path, stopped_event=None):
try:
m = hashlib.md5()
log.debug("Calculating MD5 sum of `{}`".format(path))
with open(path, 'rb') as f:
while True:
if stopped_event is not None and stopped_event.is_set():