Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardKoschicek committed Oct 11, 2023
1 parent c3510ab commit 08bff1c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions openatlas/display/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,8 +760,7 @@ def check_iiif_activation() -> bool:
def check_iiif_file_exist(id_: int) -> bool:
if app.config['IIIF']['conversion']:
return get_iiif_file_path(id_).is_file()
else:
return bool(get_file_path(id_))
return bool(get_file_path(id_))


def get_iiif_file_path(id_: int) -> Path:
Expand Down

0 comments on commit 08bff1c

Please sign in to comment.