Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
b649ffcb
authored
Feb 26, 2013
by
tarokkk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
one: fix
#65
parent
198754b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
one/views.py
+4
-2
No files found.
one/views.py
View file @
b649ffcb
...
@@ -250,8 +250,10 @@ def vm_new(request, template=None, share=None, redir=True):
...
@@ -250,8 +250,10 @@ def vm_new(request, template=None, share=None, redir=True):
type
=
share
.
type
if
share
else
'LAB'
type
=
share
.
type
if
share
else
'LAB'
TYPES
[
type
][
'suspend'
]
TYPES
[
type
][
'suspend'
]
time_of_suspend
=
TYPES
[
type
][
'suspend'
]
+
datetime
.
now
()
time_of_suspend
=
TYPES
[
type
][
'suspend'
]
+
datetime
.
now
()
TYPES
[
type
][
'delete'
]
if
TYPES
[
type
][
'delete'
]:
time_of_delete
=
TYPES
[
type
][
'delete'
]
+
datetime
.
now
()
time_of_delete
=
TYPES
[
type
][
'delete'
]
+
datetime
.
now
()
else
:
time_of_delete
=
None
inst
=
None
inst
=
None
if
go
:
if
go
:
try
:
try
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment