Loading resources/models.py +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ def hash_to_iiif_path(file_hash: str, separator: str = os.path.sep) -> str: def hash_to_local_path(file_hash: str) -> str: return "{}{}{}{}{}{}{}".format( settings.MEDIA_FILES_DIR, settings.MEDIA_FILES_DIR.rstrip("/"), os.path.sep, file_hash[:2], os.path.sep, Loading Loading
resources/models.py +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ def hash_to_iiif_path(file_hash: str, separator: str = os.path.sep) -> str: def hash_to_local_path(file_hash: str) -> str: return "{}{}{}{}{}{}{}".format( settings.MEDIA_FILES_DIR, settings.MEDIA_FILES_DIR.rstrip("/"), os.path.sep, file_hash[:2], os.path.sep, Loading