Selaa lähdekoodia

Merge branch '2024-10-23-luojunhui-avg-info-update-daily' of luojunhui/LongArticlesJob into master

luojunhui 7 kuukautta sitten
vanhempi
commit
fd077c0b7e
1 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  1. 8 0
      cal_account_read_rate_avg_daily.py

+ 8 - 0
cal_account_read_rate_avg_daily.py

@@ -315,6 +315,14 @@ def update_single_day(dt, account_list, article_df, lam):
             }
         )
 
+    if not error_list and not insert_error_list:
+        bot(
+            title="阅读率均值表,更新成功",
+            detail={
+                "日期": dt
+            }
+        )
+
 
 def main() -> None:
     """