pull/997/head
Louis Vézina 5 years ago
parent ec3fa42444
commit 89c983fbfd

@ -152,9 +152,7 @@ class ResetProviders(Resource):
class SaveSettings(Resource): class SaveSettings(Resource):
@authenticate @authenticate
def post(self): def post(self):
save_settings(zip(request.form.keys(), request.form.listvalues())) save_settings(zip(request.form.keys(), request.form.listvalues()))
scheduler.update_configurable_tasks()
return '', 200 return '', 200

@ -220,8 +220,8 @@ def save_settings(settings_items):
configure_captcha_func() configure_captcha_func()
if update_schedule: if update_schedule:
from scheduler import update_configurable_tasks from api import scheduler
update_configurable_tasks() scheduler.update_configurable_tasks()
if configure_proxy: if configure_proxy:
configure_proxy_func() configure_proxy_func()

Loading…
Cancel
Save