Open bdingtech opened 3 hours ago
如果程序一直运行应该不会应该不会有这个问题,是不是完成一次同步后马上重启程序进行下次同步?
---原始邮件--- 发件人: @.> 发送时间: 2024年10月24日(周四) 下午2:14 收件人: @.>; 抄送: @.***>; 主题: [edge-sky/Bills-save] 重复执行问题 (Issue #10)
https://github.com/edge-sky/Bills-save/blob/c406c43d541a5085d8b55f1951c550991336875b/mail.py#L317
如果一份账单邮件在三分钟内已经处理完毕,那么这封邮件似乎又会被当做新邮件重新执行
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
没有重启程序。当同步完成之后,会继续获取原来的账单密码,再走一遍流程。
delete_after_used: True 删掉邮件就正常了,就这样凑合着用吧😂
https://github.com/edge-sky/Bills-save/blob/c406c43d541a5085d8b55f1951c550991336875b/mail.py#L317
如果一份账单邮件在三分钟内已经处理完毕,那么这封邮件似乎又会被当做新邮件重新执行