ran linter localy

This commit is contained in:
nogoodidea 2024-02-26 19:45:46 -05:00
parent 007f1001da
commit e754087285

View file

@ -595,7 +595,10 @@ def create():
disk = request.form['disk']
## CHECK STUFF DEAR GOD
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
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']