mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Fix preview image location
This commit is contained in:
@@ -87,7 +87,7 @@ def view_notification(service_id, notification_id):
|
|||||||
|
|
||||||
|
|
||||||
def get_preview_error_image():
|
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:
|
with open(path, "rb") as file:
|
||||||
return file.read()
|
return file.read()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user