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

@ -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…
Cancel
Save