diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2019-01-17 12:51:04 -0500 |
---|---|---|
committer | Parker Berberian <pberberian@iol.unh.edu> | 2019-01-18 16:08:27 -0500 |
commit | 30dde45dbf5b47b7d4c18ed87779b2b2f2fec214 (patch) | |
tree | 7592d09cb57b5bbe76366090b8ce627bccbec4ee /src/notifier/manager.py | |
parent | c19835a1c5eec9af87ace51b5c1dfd44e00a1e26 (diff) |
OverHaul the Snapshot Workflow
Makes the Snapshot workflow much prettier and more functional.
Change-Id: Icdd66f64e6d336ad49ed3cf638a301d0ca92fda9
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src/notifier/manager.py')
-rw-r--r-- | src/notifier/manager.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) |