mirror of
https://github.com/SickGear/SickGear.git
synced 2025-03-15 17:17:43 +00:00
Fix show list view when no shows exist and "Group show lists shows into" is set to anything other than "One Show List".
This commit is contained in:
parent
954bcb74be
commit
72f23bce14
3 changed files with 5 additions and 2 deletions
|
@ -23,6 +23,7 @@
|
||||||
* Update PyNMA to hybrid v1.0
|
* Update PyNMA to hybrid v1.0
|
||||||
* Change first run after install to set up the main db to the current schema instead of upgrading
|
* Change first run after install to set up the main db to the current schema instead of upgrading
|
||||||
* Change don't create a backup from an initial zero byte main database file, PEP8 and code tidy up
|
* Change don't create a backup from an initial zero byte main database file, PEP8 and code tidy up
|
||||||
|
* Fix show list view when no shows exist and "Group show lists shows into" is set to anything other than "One Show List"
|
||||||
|
|
||||||
[develop changelog]
|
[develop changelog]
|
||||||
* Update Requests library 2.7.0 (ab1f493) to 2.7.0 (8b5e457)
|
* Update Requests library 2.7.0 (ab1f493) to 2.7.0 (8b5e457)
|
||||||
|
|
|
@ -507,6 +507,7 @@ inc_bottom.tmpl
|
||||||
width:100%;
|
width:100%;
|
||||||
padding:20px 0;
|
padding:20px 0;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
|
clear:both;
|
||||||
font-size:12px
|
font-size:12px
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -585,8 +585,9 @@ class Home(MainHandler):
|
||||||
index += 1
|
index += 1
|
||||||
if anime_results:
|
if anime_results:
|
||||||
t.showlists.append(['container%s' % index, 'Anime List', anime_results])
|
t.showlists.append(['container%s' % index, 'Anime List', anime_results])
|
||||||
else:
|
|
||||||
t.showlists.append(['container%s' % index, 'Show List', sickbeard.showList])
|
if 0 == len(t.showlists):
|
||||||
|
t.showlists.append(['container0', 'Show List', sickbeard.showList])
|
||||||
|
|
||||||
if 'simple' != sickbeard.HOME_LAYOUT:
|
if 'simple' != sickbeard.HOME_LAYOUT:
|
||||||
t.network_images = {}
|
t.network_images = {}
|
||||||
|
|
Loading…
Reference in a new issue