Commit e0757a88 by tarokkk Committed by Őry Máté

one: fix #65

parent e59cd419
......@@ -248,8 +248,10 @@ def vm_new(request, template=None, share=None, redir=True):
type = share.type if share else 'LAB'
TYPES[type]['suspend']
time_of_suspend = TYPES[type]['suspend']+datetime.now()
TYPES[type]['delete']
time_of_delete = TYPES[type]['delete']+datetime.now()
if TYPES[type]['delete']:
time_of_delete = TYPES[type]['delete']+datetime.now()
else:
time_of_delete = None
inst = None
if go:
try:
......
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