Skip to content

Commit

Permalink
Aktualisieren von views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ThHanke authored Jan 24, 2024
1 parent 36df08f commit 1b14e53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext/csvwmapandtransform/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get(self, id: str, resource_id: str):
toolkit.g.resource = resource

except (toolkit.ObjectNotFound, toolkit.NotAuthorized):
base.abort(404, _('Resource not found'))
base.abort(404, 'Resource not found')
status=toolkit.get_action('csvwmapandtransform_transform_status')(
{}, {
'resource_id': resource_id
Expand Down Expand Up @@ -88,7 +88,7 @@ def get(self, id: str, resource_id: str):
toolkit.g.resource = resource

except (toolkit.ObjectNotFound, toolkit.NotAuthorized):
base.abort(404, _('Resource not found'))
base.abort(404, 'Resource not found')
# iframe_url = toolkit.url_for(
# "api.action",
# ver=3,
Expand Down

0 comments on commit 1b14e53

Please sign in to comment.