Convert lazy loaded string to str
This commit is contained in:
parent
4dd49051b4
commit
8cd7a69162
1 changed files with 4 additions and 3 deletions
|
@ -1619,9 +1619,10 @@ class VirtualMachineView(LoginRequiredMixin, View):
|
||||||
else:
|
else:
|
||||||
sleep(2)
|
sleep(2)
|
||||||
if not response['status']:
|
if not response['status']:
|
||||||
response['text'] = _("VM terminate action timed out. Please "
|
response['text'] = str(_("VM terminate action timed out. "
|
||||||
"contact support@datacenterlight.ch for "
|
"Please contact "
|
||||||
"further information.")
|
"support@datacenterlight.ch for "
|
||||||
|
"further information."))
|
||||||
context = {
|
context = {
|
||||||
'vm_name': vm_name,
|
'vm_name': vm_name,
|
||||||
'base_url': "{0}://{1}".format(
|
'base_url': "{0}://{1}".format(
|
||||||
|
|
Loading…
Reference in a new issue