mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Merge pull request #345 from JackDandy/feature/AddHandleNoEpisodesDisplayShow
Add handling for shows that do not have a total number of episodes.
This commit is contained in:
commit
edd3e90482
2 changed files with 3 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
* Change to prevent another scheduled search when one of the same type is already running
|
||||
* Add custom show lists to home page
|
||||
* Change travis to new container builds for faster unit testing
|
||||
* Add handling for shows that do not have a total number of episodes
|
||||
* Change values used for date sorting on home page and episode view for improved compatibility with posix systems
|
||||
|
||||
|
||||
|
|
|
@ -1131,7 +1131,8 @@ class Home(MainHandler):
|
|||
if highest_season < curResult['season'] and 1000 < curResult['airdate'] and UNAIRED < curResult['status']:
|
||||
highest_season = curResult['season']
|
||||
|
||||
latest_season = int(sorted(epCounts['totals'])[-1::][0])
|
||||
if 0 < len(epCounts['totals']):
|
||||
latest_season = int(sorted(epCounts['totals'])[-1::][0])
|
||||
|
||||
display_seasons = []
|
||||
if 1 < highest_season:
|
||||
|
|
Loading…
Reference in a new issue