From dde76968779bf60c202c7fb65f65b00d9879253a Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Tue, 22 Oct 2024 14:10:16 +1100 Subject: [PATCH] buscribe: Work with no end time --- buscribe/buscribe/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buscribe/buscribe/main.py b/buscribe/buscribe/main.py index f18f317..e223307 100644 --- a/buscribe/buscribe/main.py +++ b/buscribe/buscribe/main.py @@ -87,7 +87,7 @@ def main(channel, database="", base_dir=".", gevent.signal_handler(signal.SIGTERM, stop) - while start_time < end_time: + while end_time is None or start_time < end_time: # If end time isn't given, use current time (plus fudge) to get a "live" segment list segments = common.get_best_segments(segments_dir, start_time,