From e754087285117beb5344e4bd08d1d695128b2483 Mon Sep 17 00:00:00 2001 From: nogoodidea Date: Mon, 26 Feb 2024 19:45:46 -0500 Subject: [PATCH] ran linter localy --- proxstar/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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']