diff --git a/CHANGELOG b/CHANGELOG index 8dbb45b..0b99d09 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +tag-1.1-20210907b JP + - Fix typo + tag-1.1-20210907 JP - Switch to .objects.get_or_create for Drupal 3.0 diff --git a/bin/route_resource_v3.py b/bin/route_resource_v3.py index c069d97..56e5eeb 100755 --- a/bin/route_resource_v3.py +++ b/bin/route_resource_v3.py @@ -697,7 +697,7 @@ def Write_RSP_Vendor_Software(self, content, contype, config): 'LocalURL': item.get('DrupalUrl', config.get('SOURCEDEFAULTURL', None)), 'CatalogMetaURL': self.CATALOGURN_to_URL(config['CATALOGURN']), 'EntityJSON': item - ) + }) local.save() except Exception as e: msg = '{} saving local ID={}: {}'.format(type(e).__name__, myGLOBALURN, e) @@ -729,7 +729,7 @@ def Write_RSP_Vendor_Software(self, content, contype, config): 'Topics': None, 'Keywords': item['Tags'], 'Audience': self.Affiliation - ) + }) resource.save() if self.ESEARCH: resource.indexing(relations=myNEWRELATIONS)