Merge branch 'main' into dev

This commit is contained in:
JackDandy 2023-02-16 18:32:22 +00:00
commit 9ce86f915c
2 changed files with 12 additions and 6 deletions

View file

@ -4,6 +4,11 @@
* Change requirements for pure py3 * Change requirements for pure py3
### 3.27.5 (2023-02-16 18:30:00 UTC)
* Fix network for persons
### 3.27.4 (2023-02-15 13:30:00 UTC) ### 3.27.4 (2023-02-15 13:30:00 UTC)
* Fix updating with running virtualenv * Fix updating with running virtualenv

View file

@ -523,12 +523,13 @@ class TvMaze(TVInfoBase):
show.overview = clean_data(c.show.summary) show.overview = clean_data(c.show.summary)
show.status = clean_data(c.show.status) show.status = clean_data(c.show.status)
net = c.show.network or c.show.web_channel net = c.show.network or c.show.web_channel
show.network = clean_data(net.name) if net:
show.network_id = net.maze_id show.network = clean_data(net.name)
show.network_country = clean_data(net.country) show.network_id = net.maze_id
show.network_timezone = clean_data(net.timezone) show.network_country = clean_data(net.country)
show.network_country_code = clean_data(net.code) show.network_timezone = clean_data(net.timezone)
show.network_is_stream = None is not c.show.web_channel show.network_country_code = clean_data(net.code)
show.network_is_stream = None is not c.show.web_channel
ch.append(TVInfoCharacter(name=clean_data(c.character.name), show=show)) ch.append(TVInfoCharacter(name=clean_data(c.character.name), show=show))
try: try:
birthdate = person_obj.birthday and tz_p.parse(person_obj.birthday).date() birthdate = person_obj.birthday and tz_p.parse(person_obj.birthday).date()