mirror of
https://github.com/morpheus65535/bazarr
synced 2025-03-01 17:15:44 +00:00
WIP
This commit is contained in:
parent
ec3fa42444
commit
89c983fbfd
2 changed files with 2 additions and 4 deletions
|
@ -152,9 +152,7 @@ class ResetProviders(Resource):
|
|||
class SaveSettings(Resource):
|
||||
@authenticate
|
||||
def post(self):
|
||||
|
||||
save_settings(zip(request.form.keys(), request.form.listvalues()))
|
||||
scheduler.update_configurable_tasks()
|
||||
|
||||
return '', 200
|
||||
|
||||
|
|
|
@ -220,8 +220,8 @@ def save_settings(settings_items):
|
|||
configure_captcha_func()
|
||||
|
||||
if update_schedule:
|
||||
from scheduler import update_configurable_tasks
|
||||
update_configurable_tasks()
|
||||
from api import scheduler
|
||||
scheduler.update_configurable_tasks()
|
||||
|
||||
if configure_proxy:
|
||||
configure_proxy_func()
|
||||
|
|
Loading…
Reference in a new issue