Skip to content

Commit

Permalink
Update pronote.py
Browse files Browse the repository at this point in the history
  • Loading branch information
apprehensivetarget authored Dec 23, 2022
1 parent 97c3bcc commit 0b06520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drawbot/utils/pronote.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def fetch_homeworks(pronote_client: pronotepy.Client) -> Optional[Generator]:


def fetch_grades(pronote_client: pronotepy.Client) -> Optional[Generator]:
fetched_grades = pronote_client.periods[0].grades
fetched_grades = pronote_client.current_period.grades

grades: DefaultDict[str, list] = defaultdict(list)
for g in fetched_grades:
Expand Down

0 comments on commit 0b06520

Please sign in to comment.