1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-24 15:58:08 +00:00

Add debug message when calculating MD5 checksum

This commit is contained in:
grossmj 2023-08-02 17:41:51 +10:00
parent 658bfb7624
commit af83adfdf6

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():