瀏覽代碼

arregle un error

Tatiana Castro 5 年之前
父節點
當前提交
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'))