RecordTimer.py 文件源码

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

项目:enigma2 作者: OpenLD 项目源码 文件源码
def getStillRecording(self):
        isStillRecording = False
        now = time()
        for timer in self.timer_list:
            if timer.isStillRecording:
                isStillRecording = True
                break
            elif abs(timer.begin - now) <= 10 and not abs(timer.end - now) <= 10:
                isStillRecording = True
                break
        return isStillRecording
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号