mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-22 07:34:19 +00:00
more bugfixes
This commit is contained in:
parent
7a6af87f4a
commit
92b4ed0634
1 changed files with 1 additions and 1 deletions
|
@ -472,7 +472,7 @@ def page_disp_add():
|
||||||
except ValueError:
|
except ValueError:
|
||||||
return render_template("error.htm", error="Il campo Inventario ente deve contenere un numero.")
|
return render_template("error.htm", error="Il campo Inventario ente deve contenere un numero.")
|
||||||
nuovodisp = Dispositivo(request.form['tipo'], request.form['marca'], request.form['modello'],
|
nuovodisp = Dispositivo(request.form['tipo'], request.form['marca'], request.form['modello'],
|
||||||
request.form['inv_ced'], request.form['inv_ente'], request.form['fornitore'],
|
int(request.form['inv_ced']), int(request.form['inv_ente']), request.form['fornitore'],
|
||||||
request.form['rete'], request.form['seriale'], request.form['ip'])
|
request.form['rete'], request.form['seriale'], request.form['ip'])
|
||||||
db.session.add(nuovodisp)
|
db.session.add(nuovodisp)
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
Loading…
Reference in a new issue