From 4bee08c431aafd7fc61bedc120d89ba135891115 Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Fri, 10 Feb 2023 20:05:31 +0000 Subject: [PATCH] Fix FutureWarning when getting FPS for DASH videos --- devine/core/manifests/dash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devine/core/manifests/dash.py b/devine/core/manifests/dash.py index 7160e5e..dc00f7c 100644 --- a/devine/core/manifests/dash.py +++ b/devine/core/manifests/dash.py @@ -249,7 +249,7 @@ class DASH: adaptation_set.get("frameRate") or ( rep.find("SegmentBase").get("timescale") if - rep.find("SegmentBase") else None + rep.find("SegmentBase") is not None else None ) ), drm=drm