diff --git a/CHANGES.md b/CHANGES.md index 791ee605..cc252b85 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -36,6 +36,7 @@ * Add subtitle information to the cmd show and cmd shows api output * Removed requirement for http login for API when an API key is provided * Change API now uses Timezone setting at General Config/Interface/User Interface/ at relevant endpoints +* Fixes changing root dirs on the mass edit page [develop changelog] * Improve display of progress bars in the Downloads columns of the show list page diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index 23525101..2db765eb 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -3877,7 +3877,10 @@ class Home(MainHandler): anime = config.checkbox_to_value(anime) subtitles = config.checkbox_to_value(subtitles) - indexer_lang = indexerLang + if indexerLang and indexerLang in sickbeard.indexerApi(showObj.indexer).indexer().config['valid_languages']: + indexer_lang = indexerLang + else: + indexer_lang = showObj.lang # if we changed the language then kick off an update if indexer_lang == showObj.lang: