Skip to content

Commit 1a525e1

Browse files
authored
Merge pull request #33 from opengisch/md5fix
Fix md5sum key error until server is updated
2 parents 72968ed + 66ac83a commit 1a525e1

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)