Skip to content

Commit 66ac83a

Browse files
committed
Fix md5sum key error until server is updated
1 parent 72968ed commit 66ac83a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qfieldcloud_sdk/sdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def upload_files(
197197
break
198198

199199
md5sum = self._get_md5sum(local_file["absolute_filename"])
200-
if remote_file and remote_file["md5sum"] == md5sum:
200+
if remote_file and remote_file.get("md5sum", None) == md5sum:
201201
continue
202202

203203
files_to_upload.append(local_file)

0 commit comments

Comments
 (0)