Переглянути джерело

修改 run_xng_author.py 代码

罗俊辉 1 рік тому
батько
коміт
5b4a5945a3
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      common/pipeline.py

+ 2 - 0
common/pipeline.py

@@ -32,6 +32,7 @@ class PiaoQuanPipeline:
                     platform=self.platform,
                     mode=self.mode,
                     env=self.env,
+                    data=self.item,
                     message="发布时间超过{}天".format(
                         int(self.rule_dict.get("period", {}).get("max", 1000))
                     ),
@@ -48,6 +49,7 @@ class PiaoQuanPipeline:
                     platform=self.platform,
                     mode=self.mode,
                     env=self.env,
+                    data=self.item,
                     message="发布时间超过{}天".format(
                         int(self.rule_dict.get("period", {}).get("max", 1000))
                     ),