Skip to content

Commit

Permalink
Merge pull request #33 from opengisch/md5fix
Browse files Browse the repository at this point in the history
Fix md5sum key error until server is updated
  • Loading branch information
marioba authored Jun 21, 2022
2 parents 72968ed + 66ac83a commit 1a525e1
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 1a525e1

Please sign in to comment.