Browse Source

arregle un error

Tatiana Castro 5 years ago
parent
commit
55373b279b
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      app/admin.py

+ 3
- 3
app/admin.py View File

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