From 8857b4ab8077d9ea1e109f973822308aa86649cb Mon Sep 17 00:00:00 2001 From: Ken Tsang Date: Thu, 8 Mar 2018 12:35:35 +0000 Subject: [PATCH] Fix preview image location --- app/main/views/notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/views/notifications.py b/app/main/views/notifications.py index 350fdd92b..b0cf14aec 100644 --- a/app/main/views/notifications.py +++ b/app/main/views/notifications.py @@ -87,7 +87,7 @@ def view_notification(service_id, notification_id): def get_preview_error_image(): - path = os.path.join(os.path.dirname(__file__), "..", "..", "assets", "images", "preview_error.png") + path = os.path.join(os.path.dirname(__file__), "..", "..", "static", "images", "preview_error.png") with open(path, "rb") as file: return file.read()