From 96f24881febabb3741169ba5d8832bace4c7d713 Mon Sep 17 00:00:00 2001 From: Arvind Tiwari Date: Wed, 27 Sep 2017 03:36:02 +0530 Subject: [PATCH] vm name fix --- datacenterlight/tasks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/datacenterlight/tasks.py b/datacenterlight/tasks.py index 3869a409..561bfd17 100644 --- a/datacenterlight/tasks.py +++ b/datacenterlight/tasks.py @@ -158,7 +158,8 @@ def create_vm_task(self, vm_template_id, user, specs, template, kwargs={'pk': order.id}), 'page_header': _( 'Your New VM %(vm_name)s at Data Center Light') % { - 'vm_name': vm.get('name')} + 'vm_name': vm.get('name')}, + 'vm_name': vm.get('name') } email_data = { 'subject': context.get('page_header'),