Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
???
Browse files Browse the repository at this point in the history
  • Loading branch information
mytja committed Dec 15, 2023
1 parent a9162a7 commit 0adbc90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gimsisapi/formtagparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,11 +384,11 @@ def get_grades(text):
if total_len != 0:
subject_grades[oc_obdobje]["average"] = total/total_len
if subject_grades[oc_obdobje]["average"] > 5:
print(f"[GIMSIS] Preseženo povprečje 5 ({subject_grades[oc_obdobje]["average"]}): {text}")
print(f"[GIMSIS] Preseženo povprečje 5 ({subject_grades[oc_obdobje]['average']}): {text}")
if total_perm_count != 0:
subject_grades[oc_obdobje]["perm_average"] = total_perm/total_perm_count
if subject_grades[oc_obdobje]["average"] > 5:
print(f"[GIMSIS] Preseženo stalno povprečje 5 ({subject_grades[oc_obdobje]["perm_average"]}): {text}")
print(f"[GIMSIS] Preseženo stalno povprečje 5 ({subject_grades[oc_obdobje]['perm_average']}): {text}")
total_all += total
total_all_perm += total_perm
total_all_perm_count += total_perm_count
Expand Down

0 comments on commit 0adbc90

Please sign in to comment.