From 30dde45dbf5b47b7d4c18ed87779b2b2f2fec214 Mon Sep 17 00:00:00 2001 From: Parker Berberian Date: Thu, 17 Jan 2019 12:51:04 -0500 Subject: OverHaul the Snapshot Workflow Makes the Snapshot workflow much prettier and more functional. Change-Id: Icdd66f64e6d336ad49ed3cf638a301d0ca92fda9 Signed-off-by: Parker Berberian --- src/notifier/manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/notifier') diff --git a/src/notifier/manager.py b/src/notifier/manager.py index 3361074..f03c2cc 100644 --- a/src/notifier/manager.py +++ b/src/notifier/manager.py @@ -75,7 +75,7 @@ class NotificationHandler(object): if (not hasattr(task, "user")) or task.user == user: user_tasklist.append( { - "title": task.type_str + " Message: ", + "title": task.type_str() + " Message: ", "content": task.message } ) @@ -94,7 +94,7 @@ class NotificationHandler(object): "Your Booking is Ready", message, os.environ.get("DEFAULT_FROM_EMAIL", "opnfv@pharos-dashboard"), - user.userprofile.email_addr, + [user.userprofile.email_addr], fail_silently=False ) -- cgit 1.2.3-korg