Add return statement in get_cache_file method of EPGSource model

This commit is contained in:
SergeantPanda 2025-04-30 14:42:32 -05:00
parent 80fe7e02f8
commit 4f0c8333c6

View file

@ -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).