From 19beea872344bd5479d0f5cf2bf6f120a1014073 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Fri, 14 Aug 2020 00:02:54 +1200 Subject: [PATCH] Fix channel length_seconds assignment --- index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.py b/index.py index df6eca1..c0852ac 100644 --- a/index.py +++ b/index.py @@ -553,7 +553,7 @@ class Second(object): if "thumbnailOverlayTimeStatusRenderer" in o: length_text = combine_runs(o["thumbnailOverlayTimeStatusRenderer"]["text"]) if o["thumbnailOverlayTimeStatusRenderer"]["style"] != "LIVE": - length_text_to_seconds(length_text) + length_seconds = length_text_to_seconds(length_text) published = 0 published_text = "Live now" if "publishedTimeText" in v: