We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d415ba commit 9d7172cCopy full SHA for 9d7172c
src/replace-sipi-url.py
@@ -40,7 +40,7 @@ def replace_urls(obj):
40
41
# Project identifier and directory path
42
project = '0801'
43
-directory = f'../data/{project}' # Directory containing JSON files
+directory = os.path.join(os.path.dirname(__file__), '..', 'data', project)
44
old_url = 'http://iiif.dasch.swiss/'
45
new_url = 'https://iiif.dasch.swiss/'
46
0 commit comments