1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-16 14:25:02 -05:00

Fix for rls words

This commit is contained in:
echel0n 2014-07-19 06:27:53 -07:00
parent 3fd5f75180
commit cf99eb9625

View File

@ -3830,10 +3830,10 @@ class Home(MainHandler):
if showObj.archive_firstmatch != archive_firstmatch: if showObj.archive_firstmatch != archive_firstmatch:
showObj.archive_firstmatch = archive_firstmatch showObj.archive_firstmatch = archive_firstmatch
if rls_ignore_words and showObj.rls_ignore_words != rls_ignore_words.strip(): if rls_ignore_words is not None and showObj.rls_ignore_words != rls_ignore_words.strip():
showObj.rls_ignore_words = rls_ignore_words.strip() showObj.rls_ignore_words = rls_ignore_words.strip()
if rls_require_words and showObj.rls_require_words != rls_require_words.strip(): if rls_require_words is not None and showObj.rls_require_words != rls_require_words.strip():
showObj.rls_require_words = rls_require_words.strip() showObj.rls_require_words = rls_require_words.strip()
# if we change location clear the db of episodes, change it, write to db, and rescan # if we change location clear the db of episodes, change it, write to db, and rescan