From 270455383d1f93f28297cbe6c02841e260fd1d83 Mon Sep 17 00:00:00 2001 From: Al Ali Date: Mon, 16 Jun 2025 22:09:48 +0200 Subject: [PATCH] Fix type annotation for days_dict --- anki_helpers/activity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki_helpers/activity.py b/anki_helpers/activity.py index c2226f9d7..79ddc200e 100644 --- a/anki_helpers/activity.py +++ b/anki_helpers/activity.py @@ -1,6 +1,6 @@ import time from collections import defaultdict - +from typing import DefaultDict def analyze_activity(col, days=30): day_cutoff = col.sched.day_cutoff start_time = day_cutoff - days * 86400