diff --git a/CHANGES.md b/CHANGES.md index 38c55338..a83e540b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -102,6 +102,7 @@ * Change pyNMA use of urllib to requests (ref:hacks.txt) * Change Trakt url to fix baseline uses (e.g. add from trending) * Fix edit on show page for shows that have anime enabled in mass edit +* Fix issue parsing items in ToktoToshokan provider * Change to only show option "End upgrade on first match" on edit show page if quality custom is selected * Change label "Show is grouped in" in edit show page to "Show is in group" and move the section higher diff --git a/gui/slick/css/style.css b/gui/slick/css/style.css index a58f26c4..ccfdb7b6 100644 --- a/gui/slick/css/style.css +++ b/gui/slick/css/style.css @@ -1010,6 +1010,10 @@ div.formpaginate{ font-weight:900 } +#addShowForm #blackwhitelist{ + padding:0 0 0 15px +} + #addShowForm #blackwhitelist, #addShowForm #blackwhitelist h4, #addShowForm #blackwhitelist p{ diff --git a/sickbeard/providers/tokyotoshokan.py b/sickbeard/providers/tokyotoshokan.py index 13c9881b..bc665464 100644 --- a/sickbeard/providers/tokyotoshokan.py +++ b/sickbeard/providers/tokyotoshokan.py @@ -52,7 +52,7 @@ class TokyoToshokanProvider(generic.TorrentProvider): torrent_table = soup.find('table', attrs={'class': 'listing'}) torrent_rows = torrent_table.find_all('tr') if torrent_table else [] if torrent_rows: - a = (0, 1)[torrent_rows[0].find('td', attrs={'class': 'centertext'})] + a = (0, 1)[None is not torrent_rows[0].find('td', attrs={'class': 'centertext'})] for top, bottom in zip(torrent_rows[a::2], torrent_rows[a::2]): title = top.find('td', attrs={'class': 'desc-top'}).text