@@ -22,9 +22,9 @@ def admin():
if station_query_res is not None:
station_id = station_query_res[0]
db.execute(
- 'INSERT INTO station (nombre_empleado, oficina, last_turn, timeArrival, station)'
- ' VALUES (?, ?, ?, ?, ?)',
- (eName, office, turn, 0)
+ 'INSERT INTO station (nombre_empleado, oficina, last_turn)'
+ ' VALUES (?, ?, ?)',
+ (eName, office, 0)
)
db.commit()
return redirect(url_for('admin'))