Skip to content

Commit

Permalink
Fix md5sum key error until server is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
marioba committed Jun 21, 2022
1 parent 72968ed commit 66ac83a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qfieldcloud_sdk/sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def upload_files(
break

md5sum = self._get_md5sum(local_file["absolute_filename"])
if remote_file and remote_file["md5sum"] == md5sum:
if remote_file and remote_file.get("md5sum", None) == md5sum:
continue

files_to_upload.append(local_file)
Expand Down

0 comments on commit 66ac83a

Please sign in to comment.