Update cemento.py
This commit is contained in:
@@ -26,7 +26,7 @@ def index():
|
||||
vol = to_m(d.get('l','1'), d.get('ul','m')) * to_m(d.get('p','1'), d.get('up','m')) * to_m(d.get('a','1'), d.get('ua','m'))
|
||||
peso_tot = vol * 2400
|
||||
|
||||
# Logica calcolo materiali (V1.1)
|
||||
# Logica calcolo materiali (V1.12)
|
||||
res = {"vol": f"{vol:.3f}", "peso": f"{peso_tot:.0f}", "tot_sacc": 3, "s_cem": 1, "s_sab": 1, "s_ghi": 1}
|
||||
except: res = None
|
||||
return render_template('index.html', res=res, form=request.form)
|
||||
|
||||
Reference in New Issue
Block a user