Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Nov 25, 2024
1 parent a975de4 commit 28df66f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/dcor_schemas/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def after_dataset_update(self, context, data_dict):
for resource in data_dict.get('resources', []):
if resource and ("created" not in resource
or resource.get("size") is None
or resource.get("etag" is None)):
or resource.get("etag") is None):
# If "created" is in `resource`, this means that the
# resource already existed. Since in DCOR, we do not allow
# updating resources, this should be fine. However, there
Expand Down

0 comments on commit 28df66f

Please sign in to comment.