Fix bug where columns couldn't be found in db
This commit is contained in:
parent
aabff13c69
commit
702940ecb2
2
IA.py
2
IA.py
@ -72,7 +72,7 @@ def select_final_time(conn, day, id):
|
|||||||
OR g5 = lesson_id
|
OR g5 = lesson_id
|
||||||
OR g6 = lesson_id
|
OR g6 = lesson_id
|
||||||
OR lesson_id = 'gu'
|
OR lesson_id = 'gu'
|
||||||
OR leeson_id = 'to'
|
OR lesson_id = 'to'
|
||||||
WHERE id = ? AND day = ?
|
WHERE id = ? AND day = ?
|
||||||
ORDER BY end_time DESC
|
ORDER BY end_time DESC
|
||||||
LIMIT 1
|
LIMIT 1
|
||||||
|
Reference in New Issue
Block a user