Skip to content

Commit

Permalink
cleaned url_for
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardKoschicek committed Sep 27, 2023
1 parent 0a2056d commit be0660e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions openatlas/display/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ def add_button_others(self) -> None:
if check_iiif_file_exist(self.entity.id):
self.buttons.append(button(
_('iiif'),
url_for('view_iiif',
prefix=app.config['IIIF_PREFIX'],
id_=self.entity.id)))
url_for('view_iiif', id_=self.entity.id)))
else:
self.buttons.append(button(
_('make_iiif_available'),
Expand Down

0 comments on commit be0660e

Please sign in to comment.