From 4f0c8333c6196c1246550518753ace3fb18b755f Mon Sep 17 00:00:00 2001 From: SergeantPanda Date: Wed, 30 Apr 2025 14:42:32 -0500 Subject: [PATCH] Add return statement in get_cache_file method of EPGSource model --- apps/epg/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/epg/models.py b/apps/epg/models.py index 2f7d5990..e020821a 100644 --- a/apps/epg/models.py +++ b/apps/epg/models.py @@ -40,6 +40,8 @@ class EPGSource(models.Model): cache_dir = os.path.join(settings.MEDIA_ROOT, "cached_epg") cache = os.path.join(cache_dir, filename) + return cache + class EPGData(models.Model): # Removed the Channel foreign key. We now just store the original tvg_id # and a name (which might simply be the tvg_id if no real channel exists).