diff options
-rw-r--r-- | fietsboek/views/detail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fietsboek/views/detail.py b/fietsboek/views/detail.py index 34d392b..80d112b 100644 --- a/fietsboek/views/detail.py +++ b/fietsboek/views/detail.py @@ -119,7 +119,7 @@ def image(request): except FileNotFoundError: return HTTPNotFound() else: - return FileResponse(image_path, request) + return FileResponse(str(image_path), request) @view_config(route_name="add-comment", request_method="POST", permission="track.comment") |