Merge branch 'master' into develop

This commit is contained in:
JackDandy 2018-05-02 00:30:11 +01:00
commit 30f5bcd82a
2 changed files with 9 additions and 2 deletions

View file

@ -8,6 +8,11 @@
### 0.16.2 (2018-05-02 00:25:00 UTC)
* Change use copy of showObj for UI to preserve original object structs
### 0.16.1 (2018-05-01 13:20:00 UTC)
* Fix IMDb links to older shows on displayshow and editshow page

View file

@ -1801,7 +1801,8 @@ class Home(MainHandler):
t.submenu.append(
{'title': 'Download Subtitles', 'path': 'home/subtitleShow?show=%d' % showObj.indexerid})
t.show = showObj
import copy
t.show = copy.deepcopy(showObj)
self.fix_imdb_id(t.show)
with BS4Parser('<html><body>%s</body></html>' % showObj.overview, features=['html5lib', 'permissive']) as soup:
try:
@ -2232,7 +2233,8 @@ class Home(MainHandler):
t.groups.append(dict([('name', 'Did not initialise AniDB. Check debug log if reqd.'), ('rating', ''), ('range', '')]))
with showObj.lock:
t.show = showObj
import copy
t.show = copy.deepcopy(showObj)
self.fix_imdb_id(t.show)
t.show_has_scene_map = showObj.indexerid in sickbeard.scene_exceptions.xem_ids_list[showObj.indexer]