Browse Source

Fix viewing an show added before any application configuration is saved (very rare under normal use).

tags/release_0.21.1^2
JackDandy 5 years ago
parent
commit
7f0c091e8d
  1. 7
      CHANGES.md
  2. 2
      sickbeard/__init__.py
  3. 4
      sickbeard/providers/torrentleech.py

7
CHANGES.md

@ -1,4 +1,9 @@
### 0.21.0 (2020-01-10 00:40:00 UTC)
### 0.21.1 (2020-01-10 14:45:00 UTC)
* Fix viewing an show added before any application configuration is saved (very rare under normal use)
### 0.21.0 (2020-01-10 00:40:00 UTC)
* Change core system to improve performance and facilitate multi TV info sources
* Change migrate core objects TVShow and TVEpisode and everywhere that these objects affect.

2
sickbeard/__init__.py

@ -755,6 +755,8 @@ def init_stage_1(console_logging):
FANART_RATINGS = check_setting_str(CFG, 'GUI', 'fanart_ratings', None)
if None is not FANART_RATINGS:
FANART_RATINGS = ast.literal_eval(FANART_RATINGS or '{}')
if not isinstance(FANART_RATINGS, dict):
FANART_RATINGS = {}
USE_IMDB_INFO = bool(check_setting_int(CFG, 'GUI', 'use_imdb_info', 1))
IMDB_ACCOUNTS = CFG.get('GUI', []).get('imdb_accounts', [IMDB_DEFAULT_LIST_ID, IMDB_DEFAULT_LIST_NAME])
HOME_SEARCH_FOCUS = bool(check_setting_int(CFG, 'General', 'home_search_focus', HOME_SEARCH_FOCUS))

4
sickbeard/providers/torrentleech.py

@ -24,9 +24,7 @@ from ..helpers import try_int
from bs4_parser import BS4Parser
from _23 import unidecode
from six import iteritems
from six import PY2
from six import iteritems, PY2
class TorrentLeechProvider(generic.TorrentProvider):

Loading…
Cancel
Save