diff --git a/VERSION b/VERSION index abd4105..3a4036f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.4 +0.2.5 diff --git a/snooper_weekly.py b/snooper_weekly.py index 9d10cb1..0ebbcc7 100644 --- a/snooper_weekly.py +++ b/snooper_weekly.py @@ -207,7 +207,6 @@ def generate_weekly( properties = { "version": get_version(), "model": model.rsplit("/", 1)[-1], - "type": "weekly", "is_read": False, } if previous_weekly is None: diff --git a/tests/test_weekly.py b/tests/test_weekly.py index c0d6ead..7813320 100644 --- a/tests/test_weekly.py +++ b/tests/test_weekly.py @@ -80,7 +80,7 @@ def test_generate_weekly_reads_previous_week_and_sanitizes_links( text = output.read_text(encoding="utf-8") assert "[[审核群|指数内容部落]]" in text - assert "type: weekly" in text + assert "type: weekly" not in text assert "date:" not in text assert "上周合成周记" in clients[0].prompts[-1]