From 4adc30eaab7bea5c74e54919ccda4d894d91903e Mon Sep 17 00:00:00 2001 From: samedamci Date: Thu, 16 Sep 2021 19:07:05 +0200 Subject: [PATCH] Fix `from_channel_program` method in `Program` class --- mattebox/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mattebox/types.py b/mattebox/types.py index 538eeb9..ee34fe9 100644 --- a/mattebox/types.py +++ b/mattebox/types.py @@ -23,7 +23,7 @@ class Program: "name": data["name"], "channel": data["channelKey"], "epg_id": data["epgId"], - "content_id": obj.epg_id, + "content_id": data["epgId"], "description": data["shortDescription"], "ts_start": data["startTimestamp"], "ts_stop": data["endTimestamp"],