EPGRefreshTimer.py 文件源码

python
阅读 68 收藏 0 点赞 0 评论 0

项目:enigma2-plugins 作者: opendreambox 项目源码 文件源码
def remove(self, entry):
        print("[EPGRefresh] Timer removed " + str(entry))

        # avoid re-enqueuing
        entry.repeated = False

        # abort timer.
        # this sets the end time to current time, so timer will be stopped.
        entry.abort()

        if entry.state != entry.StateEnded:
            self.timeChanged(entry)

        print("state: ", entry.state)
        print("in processed: ", entry in self.processed_timers)
        print("in running: ", entry in self.timer_list)
        # now the timer should be in the processed_timers list. remove it from there.
        self.processed_timers.remove(entry)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号