1
0
Fork 0
mirror of https://github.com/LaQuay/TDTChannels.git synced 2024-12-28 02:02:40 +01:00

Minor Ambit

This commit is contained in:
Marc 2018-09-23 11:52:56 +02:00
parent 53cc99d844
commit 9c270bbc6e
3 changed files with 1 additions and 2 deletions

View file

@ -9,7 +9,6 @@ class Country:
def add_ambit(self, ambit):
self.ambits.append(ambit)
# TODO Habria que filtrar los que no tienen campos de url
def __ambits_to_json__(self):
ambits_list = []
for ambit in self.ambits:

View file

@ -4,7 +4,7 @@ import json
import requests
from ambito import Ambito
from ambit import Ambito
from channel import Channel
from country import Country