Don't refresh users on every config save.

Don't reschedule all tasks on every config save.
Send pre-formatted month+year string for monthly total plays graph.
This commit is contained in:
Tim 2015-08-26 00:11:20 +02:00
parent 0a850fc3af
commit f56ba300ac
3 changed files with 22 additions and 10 deletions

View file

@ -259,7 +259,7 @@ class Graphs(object):
dt = datetime.datetime(*month_item[:6])
date_string = dt.strftime('%Y-%m')
categories.append(date_string)
categories.append(dt.strftime('%b %Y'))
series_1_value = 0
series_2_value = 0
for item in result: