1
0
Fork 0
mirror of https://github.com/LaQuay/TDTChannels.git synced 2025-05-21 05:08:22 +02:00

Adapt to new model

This commit is contained in:
Marc 2019-01-08 15:47:06 +01:00
parent 4e56653d1f
commit 1652145a3a
3 changed files with 70 additions and 61 deletions
script

View file

@ -5,7 +5,7 @@ class Ambito:
def add_channels(self, channels_to_add):
if self.channels:
self.channels.append(channels_to_add)
self.channels += channels_to_add
def __channels_to_json__(self):
channel_list = []