浏览代码

if not error_list and not insert_error_list:
bot success

luojunhui 6 月之前
父节点
当前提交
8b4941cfde
共有 1 个文件被更改,包括 8 次插入0 次删除
  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:
 def main() -> None:
     """
     """