mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
fixes lint error
This commit is contained in:
parent
d8146636ea
commit
693ddbc6f5
1 changed files with 3 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue