mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
I hate python i hate python i hate python
This commit is contained in:
parent
86abbf59c3
commit
bbf9fdbac5
1 changed files with 1 additions and 2 deletions
|
@ -594,9 +594,8 @@ def create():
|
|||
memory = request.form['mem']
|
||||
disk = request.form['disk']
|
||||
## CHECK STUFF DEAR GOD
|
||||
if int(cores) <= 0 or int(memory) <= 0 or int(disk) <= 0{
|
||||
if int(cores) <= 0 or int(memory) <= 0 or int(disk) <= 0:
|
||||
return 'VM creation with cores and/or mem and/or disk values that are less than 0' 400
|
||||
}
|
||||
|
||||
template = request.form['template']
|
||||
iso = request.form['iso']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue