Commit b7f8aadc authored by Israel Yago Pereira's avatar Israel Yago Pereira
Browse files

Merge branch '77-preferences-dissapear' into 'master'

Fix preferences dissapearing

Closes #77

See merge request e/cloud/my-spot!97
parents a8ebb532 66488d99
......@@ -900,11 +900,10 @@ def preferences():
if 'preferences' in settings and 'lock' in settings['preferences']:
locked_preferences = settings['preferences']['lock']
print(themes)
return render('preferences.html',
selected_categories=get_selected_categories(request.preferences, request.form),
all_categories=_get_ordered_categories(),
categories=_get_ordered_categories(),
locales=settings['locales'],
current_locale=request.preferences.get_value("locale"),
image_proxy=image_proxy,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment