aboutsummaryrefslogtreecommitdiffstats
path: root/rasis.py
diff options
context:
space:
mode:
Diffstat (limited to 'rasis.py')
-rw-r--r--rasis.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/rasis.py b/rasis.py
index 2275cd1..a88e936 100644
--- a/rasis.py
+++ b/rasis.py
@@ -95,8 +95,7 @@ def generate_post_content(post_data: dict) -> str:
return None
content = f"📰 {game} - {post_data['date']}\n\n"
-
- if post_data["is_ai_summary"]:
+ if "is_ai_summary" in post_data and post_data["is_ai_summary"]:
content += "The information below is written by AI / 上記の情報はAIによって生成されました。\n\n"
if post_data["type"] is not None:
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage