Tatiana Castro 5 лет назад
Родитель
Сommit
55373b279b
1 измененных файлов: 3 добавлений и 3 удалений
  1. 3
    3
      app/admin.py

+ 3
- 3
app/admin.py Просмотреть файл

@@ -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'))