From 7bcea720536cc625bfe32cdda189e32bc8ebba0d Mon Sep 17 00:00:00 2001 From: Flaxee Date: Sat, 28 Dec 2019 09:27:32 +0100 Subject: [PATCH 1/2] Update unix.py --- libs/tzlocal/unix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/tzlocal/unix.py b/libs/tzlocal/unix.py index 388273c27..8574965a5 100644 --- a/libs/tzlocal/unix.py +++ b/libs/tzlocal/unix.py @@ -138,7 +138,7 @@ def _get_localzone(_root='/'): if os.path.exists(tzpath) and os.path.islink(tzpath): tzpath = os.path.realpath(tzpath) start = tzpath.find("/")+1 - while start is not 0: + while start != 0: tzpath = tzpath[start:] try: return pytz.timezone(tzpath) From 1c6967d68fd7e2201bd87a3be4b8f0b2ae288d7b Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Sat, 28 Dec 2019 23:30:45 -0500 Subject: [PATCH 2/2] Fixed issue when series got updated in Sonarr and not reflected in Bazarr. --- bazarr/get_series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/get_series.py b/bazarr/get_series.py index c909dda09..1cd46b2ef 100644 --- a/bazarr/get_series.py +++ b/bazarr/get_series.py @@ -84,7 +84,7 @@ def update_series(): # Add shows in Sonarr to current shows list current_shows_sonarr.append(show['id']) - if show['tvdbId'] in current_shows_db_list: + if show['id'] in current_shows_db_list: series_to_update.append({'title': six.text_type(show["title"]), 'path': six.text_type(show["path"]), 'tvdbId': int(show["tvdbId"]),