Fix preview image location

This commit is contained in:
Ken Tsang
2018-03-08 12:35:35 +00:00
parent 4628b99445
commit 8857b4ab80

View File

@@ -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()