Skip to content
Snippets Groups Projects
Commit f033f7e9 authored by Daniel Neuwirth's avatar Daniel Neuwirth
Browse files

added after update for resource

parent 7213ca62
No related branches found
No related tags found
No related merge requests found
......@@ -203,6 +203,10 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm
if resource.get('package_id'):
tools.save_hash_into_resource(context, resource)
def after_update(self, context, resource):
if resource.get('package_id'):
tools.save_hash_into_resource(context, resource)
@staticmethod
def _update_is_new_in_pkg_dict(pkg_dict):
is_new = HelperPgkDict(pkg_dict).is_package_new()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment