Fix import statement and add timetable retrieval using current month's dates
This commit is contained in:
parent
ceea7a5262
commit
b75bb64242
1 changed files with 6 additions and 1 deletions
|
@ -6,7 +6,7 @@ import keyring
|
|||
import threading
|
||||
import configparser
|
||||
import flet as ft
|
||||
from i18n import *
|
||||
from i18n import _
|
||||
from utils import *
|
||||
from pages.home import *
|
||||
from pages.exams import *
|
||||
|
@ -61,6 +61,11 @@ def sync(page: ft.Page):
|
|||
|
||||
create_notes_database(notes_list=notes)
|
||||
|
||||
|
||||
start, end = get_current_month_dates()
|
||||
|
||||
interface.get_timetable(from_=start, to=end)
|
||||
|
||||
def change_page(route):
|
||||
routes = {
|
||||
"/": HomePage(),
|
||||
|
|
Loading…
Add table
Reference in a new issue