Add retrieve current period in sync function
This commit is contained in:
parent
04e2352cd3
commit
d2fc4bf3e2
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,8 @@ def sync():
|
||||||
jsoncontext = auth_context.model_dump_json()
|
jsoncontext = auth_context.model_dump_json()
|
||||||
saveauth("Fuji", "Auth Context", jsoncontext)
|
saveauth("Fuji", "Auth Context", jsoncontext)
|
||||||
|
|
||||||
|
student = students[student]
|
||||||
|
current_period = next(period for period in student.periods if period.current)
|
||||||
def main(page: ft.Page):
|
def main(page: ft.Page):
|
||||||
# Page settings
|
# Page settings
|
||||||
page.title = "Fuji"
|
page.title = "Fuji"
|
||||||
|
|
Loading…
Add table
Reference in a new issue