Fix default episode status in display and edit show.

See SiCKRAGETV/sickrage-issues/issues/111 for more info
This commit is contained in:
Alexandre Beloin 2015-01-18 14:15:45 -05:00
parent ce997c79fe
commit 28f75bf91d
1 changed files with 1 additions and 1 deletions

View File

@ -1381,7 +1381,7 @@ class Home(WebRoot):
showObj.dvdorder = dvdorder
showObj.rls_ignore_words = rls_ignore_words.strip()
showObj.rls_require_words = rls_require_words.strip()
showObj.default_ep_status = defaultEpStatus
showObj.default_ep_status = int(defaultEpStatus)
# if we change location clear the db of episodes, change it, write to db, and rescan
if os.path.normpath(showObj._location) != os.path.normpath(location):