diff --git a/uds.py b/uds.py index ca8dded..4b1bdc3 100755 --- a/uds.py +++ b/uds.py @@ -118,7 +118,7 @@ def build_file(self, parent_id): f.close() - original_hash = folder.get("md5Checksum") + original_hash = folder.get("properties", {}).get("md5") if original_hash is not None and file_hash != original_hash: print("Failed to verify hash\nDownloaded file had hash {} compared to original {}".format( file_hash, original_hash))