Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardKoschicek committed Oct 4, 2023
1 parent 2b9df3b commit cbee52f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openatlas/display/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,9 @@ def system_warnings(_context: str, _unneeded_string: str) -> str:
warnings.append(
f"Database version {app.config['DATABASE_VERSION']} is needed but "
f"current version is {g.settings['database_version']}")
if app.config['IIIF_ACTIVATE'] and app.config['IIIF_PATH']:
path = Path(app.config['IIIF_PATH']) / app.config['IIIF_PREFIX']
check_write_access(path, warnings)
if app.config['IIIF']['activate']:
if path := app.config['IIIF']['path']:
check_write_access(path, warnings)
for path in app.config['WRITABLE_PATHS']:
check_write_access(path, warnings)
if is_authorized('admin'):
Expand Down

0 comments on commit cbee52f

Please sign in to comment.