Fix issue where guidance and TOK lessons were ignored
This commit is contained in:
		
							
								
								
									
										2
									
								
								IA.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								IA.py
									
									
									
									
									
								
							@@ -56,6 +56,8 @@ def select_final_time(conn, day, id):
 | 
				
			|||||||
                OR g4 = lesson_id
 | 
					                OR g4 = lesson_id
 | 
				
			||||||
                OR g5 = lesson_id
 | 
					                OR g5 = lesson_id
 | 
				
			||||||
                OR g6 = lesson_id
 | 
					                OR g6 = lesson_id
 | 
				
			||||||
 | 
					                OR lesson_id = 'gu'
 | 
				
			||||||
 | 
					                OR leeson_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