@ -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
if configure_proxy:
configure_proxy_func()