Skip to content

Commit

Permalink
Update action.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ThHanke authored Sep 17, 2024
1 parent 48f361f commit 8bbf2ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ckanext/csvwmapandtransform/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ def csvwmapandtransform_find_mappings(context: Context, data_dict):
{"ignore_auth": True}, {"id": mapping_group_id, "include_datasets": True}
)
else:
mapping_group = create_group(MAPPING_GROUP)
try:
mapping_group = create_group(MAPPING_GROUP)
except:
pass
packages = mapping_group.get("packages", None)
log.info(f"mappings=={packages}")

Expand Down

0 comments on commit 8bbf2ce

Please sign in to comment.