Merge branch 'hotfix/3.27.5'

This commit is contained in:
JackDandy 2023-02-16 18:30:36 +00:00
commit 68f81f93f7
2 changed files with 13 additions and 7 deletions

View file

@ -1,4 +1,9 @@
### 3.27.4 (2023-02-15 13:30:00 UTC) ### 3.27.5 (2023-02-16 18:30:00 UTC)
* Fix network for persons
### 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()