From 8cd7a6916288c9745092926323363031cc9eaa81 Mon Sep 17 00:00:00 2001 From: PCoder Date: Tue, 24 Sep 2019 09:44:45 +0530 Subject: [PATCH] Convert lazy loaded string to str --- hosting/views.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hosting/views.py b/hosting/views.py index 6d023437..a3ae1fa7 100644 --- a/hosting/views.py +++ b/hosting/views.py @@ -1619,9 +1619,10 @@ class VirtualMachineView(LoginRequiredMixin, View): else: sleep(2) if not response['status']: - response['text'] = _("VM terminate action timed out. Please " - "contact support@datacenterlight.ch for " - "further information.") + response['text'] = str(_("VM terminate action timed out. " + "Please contact " + "support@datacenterlight.ch for " + "further information.")) context = { 'vm_name': vm_name, 'base_url': "{0}://{1}".format(