Skip to content

Commit

Permalink
ran linter localy
Browse files Browse the repository at this point in the history
  • Loading branch information
nogoodidea committed Feb 27, 2024
1 parent 007f100 commit e754087
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion proxstar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit e754087

Please sign in to comment.