mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 14:03:55 -05:00
Fix formatting in activity.py
This commit is contained in:
parent
6ff9452656
commit
c69d0735ed
1 changed files with 1 additions and 1 deletions
|
|
@ -2,6 +2,7 @@ from collections import defaultdict
|
|||
from typing import Dict, Union
|
||||
from anki.collection import Collection
|
||||
|
||||
|
||||
def analyze_activity(col: Collection, days: int = 30) -> dict[str, Union[int, float]]:
|
||||
|
||||
day_cutoff = col.sched.day_cutoff
|
||||
|
|
@ -30,4 +31,3 @@ def analyze_activity(col: Collection, days: int = 30) -> dict[str, Union[int, fl
|
|||
"average_per_day": round(average_per_day, 2),
|
||||
"low_days": low_days,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue