Fix issue with poll frequency not saving

This commit is contained in:
Jason McBrayer 2019-03-28 08:24:28 -04:00
parent e0bc0eba26
commit 79eea0eed1

View File

@ -492,6 +492,7 @@ def settings(request):
account.preferences.click_to_load = form.cleaned_data['click_to_load']
account.preferences.lightbox = form.cleaned_data['lightbox']
account.preferences.filter_notifications = form.cleaned_data['filter_notifications']
account.preferences.poll_frequency = form.cleaned_data['poll_frequency']
request.session['timezone'] = account.preferences.timezone
account.preferences.save()
account.save()