diff --git a/proxstar/__init__.py b/proxstar/__init__.py index 9a95e26..36020df 100644 --- a/proxstar/__init__.py +++ b/proxstar/__init__.py @@ -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']