mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-25 09:04:18 +00:00
PEP8 stuff
This commit is contained in:
parent
ff9d3201aa
commit
d15e422bd3
1 changed files with 4 additions and 2 deletions
|
@ -546,7 +546,8 @@ def page_disp_add():
|
||||||
int(request.form['inv_ced']) if request.form['inv_ced'] else None,
|
int(request.form['inv_ced']) if request.form['inv_ced'] else None,
|
||||||
int(request.form['inv_ente']) if request.form['inv_ente'] else None,
|
int(request.form['inv_ente']) if request.form['inv_ente'] else None,
|
||||||
request.form['rete'], request.form['seriale'],
|
request.form['rete'], request.form['seriale'],
|
||||||
request.form['ip'], request.form['hostname'] if request.form['hostname'] else None, request.form['so'],
|
request.form['ip'], request.form['hostname'] if request.form['hostname'] else None,
|
||||||
|
request.form['so'],
|
||||||
int(request.form['ordine']) if request.form['ordine'] else None)
|
int(request.form['ordine']) if request.form['ordine'] else None)
|
||||||
db.session.add(nuovodisp)
|
db.session.add(nuovodisp)
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
@ -698,7 +699,8 @@ def page_disp_clone(did):
|
||||||
int(request.form['inv_ced']) if request.form['inv_ced'] else None,
|
int(request.form['inv_ced']) if request.form['inv_ced'] else None,
|
||||||
int(request.form['inv_ente']) if request.form['inv_ente'] else None,
|
int(request.form['inv_ente']) if request.form['inv_ente'] else None,
|
||||||
request.form['rete'], request.form['seriale'],
|
request.form['rete'], request.form['seriale'],
|
||||||
request.form['ip'], request.form['hostname'] if request.form['hostname'] else None, request.form['so'],
|
request.form['ip'], request.form['hostname'] if request.form['hostname'] else None,
|
||||||
|
request.form['so'],
|
||||||
int(request.form['ordine']) if request.form['ordine'] else None)
|
int(request.form['ordine']) if request.form['ordine'] else None)
|
||||||
db.session.add(nuovodisp)
|
db.session.add(nuovodisp)
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
Loading…
Reference in a new issue