From 9c270bbc6e45983579f54e9efe840f1dde95078d Mon Sep 17 00:00:00 2001 From: Marc Date: Sun, 23 Sep 2018 11:52:56 +0200 Subject: [PATCH] Minor Ambit --- script/{ambito.py => ambit.py} | 0 script/country.py | 1 - script/my_script.py | 2 +- 3 files changed, 1 insertion(+), 2 deletions(-) rename script/{ambito.py => ambit.py} (100%) diff --git a/script/ambito.py b/script/ambit.py similarity index 100% rename from script/ambito.py rename to script/ambit.py diff --git a/script/country.py b/script/country.py index 9915dd59..b090946b 100644 --- a/script/country.py +++ b/script/country.py @@ -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: diff --git a/script/my_script.py b/script/my_script.py index 645dd17d..03fce5cb 100644 --- a/script/my_script.py +++ b/script/my_script.py @@ -4,7 +4,7 @@ import json import requests -from ambito import Ambito +from ambit import Ambito from channel import Channel from country import Country