updated tmdb names

pull/16/head
meisnate12 4 years ago
parent 9e40fac993
commit f33a95de2b

File diff suppressed because it is too large Load Diff

@ -146,13 +146,13 @@ class TMDbAPI:
if method in ["tmdb_company", "tmdb_network", "tmdb_keyword"]:
tmdb_id = int(data)
if method == "tmdb_company":
tmdb_name = str(self.get_company(tmdb_id))
tmdb_name = str(self.get_company(tmdb_id).name)
attrs = {"with_companies": tmdb_id}
elif method == "tmdb_network":
tmdb_name = str(self.get_network(tmdb_id))
tmdb_name = str(self.get_network(tmdb_id).name)
attrs = {"with_networks": tmdb_id}
elif method == "tmdb_keyword":
tmdb_name = str(self.get_keyword(tmdb_id))
tmdb_name = str(self.get_keyword(tmdb_id).name)
attrs = {"with_keywords": tmdb_id}
limit = 0
else:

Loading…
Cancel
Save