fixes lint error

This commit is contained in:
nogoodidea 2024-02-26 19:28:17 -05:00
parent d8146636ea
commit 693ddbc6f5

View file

@ -412,7 +412,8 @@ def vm_renew(vmid):
@app.route('/vm/<string:vmid>/disk/create/<int:size>', methods=['POST'])
@auth.oidc_auth
def create_disk(vmid, size):
if(size =< 0):## are they trying to disk with zero size
## are they trying to disk with zero size
if(size =< 0):
return '', 400
user = User(session['userinfo']['preferred_username'])
connect_proxmox()