diff --git a/ffplayout/utils.py b/ffplayout/utils.py index 5e9bdd9b..0f592570 100644 --- a/ffplayout/utils.py +++ b/ffplayout/utils.py @@ -651,7 +651,7 @@ def get_date(seek_day): return (d - timedelta(1)).strftime('%Y-%m-%d') else: if _playlist.start == 0 and \ - math.isclose(get_time('full_sec'), 86400.0, abs_tol=4): + 4 > 86400.0 - get_time('full_sec') > 0: return (d + timedelta(1)).strftime('%Y-%m-%d') return d.strftime('%Y-%m-%d')