From a72356da2dbe6c86be9573bc69e7d158eacef4aa Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Tue, 27 Feb 2024 13:44:10 -0500 Subject: [PATCH] fix zap2it fetching range --- src/dlhdhr/epg/zap2it.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dlhdhr/epg/zap2it.py b/src/dlhdhr/epg/zap2it.py index 278c8c5..0e27ada 100644 --- a/src/dlhdhr/epg/zap2it.py +++ b/src/dlhdhr/epg/zap2it.py @@ -63,7 +63,7 @@ class Zap2it: events = {} # Fetch up to 18 hours into the future - for i in range(1, 3, 1): + for i in range(3): params["time"] = str(int(time.time()) + (21600 * i)) res = await client.get("/grid", params=params) res.raise_for_status()