diff --git a/openatlas/display/util.py b/openatlas/display/util.py index 92781c987..2251b2ecc 100644 --- a/openatlas/display/util.py +++ b/openatlas/display/util.py @@ -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: