mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-13 10:17:43 +08:00
Merge remote-tracking branch 'origin/development' into development
This commit is contained in:
commit
0df21fb136
1 changed files with 7 additions and 0 deletions
|
@ -333,6 +333,13 @@ def save_wizard():
|
||||||
settings_subliminal_providers = request.forms.getall('settings_subliminal_providers')
|
settings_subliminal_providers = request.forms.getall('settings_subliminal_providers')
|
||||||
settings.general.enabled_providers = u'' if not settings_subliminal_providers else ','.join(settings_subliminal_providers)
|
settings.general.enabled_providers = u'' if not settings_subliminal_providers else ','.join(settings_subliminal_providers)
|
||||||
|
|
||||||
|
settings.addic7ed.username = request.forms.get('settings_addic7ed_username')
|
||||||
|
settings.addic7ed.password = request.forms.get('settings_addic7ed_password')
|
||||||
|
settings.legendastv.username = request.forms.get('settings_legendastv_username')
|
||||||
|
settings.legendastv.password = request.forms.get('settings_legendastv_password')
|
||||||
|
settings.opensubtitles.username = request.forms.get('settings_opensubtitles_username')
|
||||||
|
settings.opensubtitles.password = request.forms.get('settings_opensubtitles_password')
|
||||||
|
|
||||||
settings_subliminal_languages = request.forms.getall('settings_subliminal_languages')
|
settings_subliminal_languages = request.forms.getall('settings_subliminal_languages')
|
||||||
c.execute("UPDATE table_settings_languages SET enabled = 0")
|
c.execute("UPDATE table_settings_languages SET enabled = 0")
|
||||||
for item in settings_subliminal_languages:
|
for item in settings_subliminal_languages:
|
||||||
|
|
Loading…
Reference in a new issue