Commit a1ba9e27 by Őry Máté

one: fix #94

parent 08a7b098
...@@ -510,7 +510,10 @@ def vm_resume(request, iid, *args, **kwargs): ...@@ -510,7 +510,10 @@ def vm_resume(request, iid, *args, **kwargs):
messages.success(request, _('Virtual machine is successfully resumed.')) messages.success(request, _('Virtual machine is successfully resumed.'))
except: except:
messages.error(request, _('Failed to resume virtual machine.')) messages.error(request, _('Failed to resume virtual machine.'))
obj.renew() try:
obj.renew()
except:
pass
return redirect('/') return redirect('/')
@login_required @login_required
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment