mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 13:03:02 +00:00
hardcode stats date range back to a week
This commit is contained in:
@@ -295,9 +295,7 @@ def get_stats():
|
|||||||
"""
|
"""
|
||||||
Get the stats for the user.
|
Get the stats for the user.
|
||||||
"""
|
"""
|
||||||
# now = int(datetime.now().timestamp())
|
start_time, end_time = get_date_range("week")
|
||||||
# one_week_ago = now - get_duration_in_seconds("week")
|
|
||||||
start_time, end_time = get_date_range("year")
|
|
||||||
|
|
||||||
total_tracks = StatItem(
|
total_tracks = StatItem(
|
||||||
"trackcount",
|
"trackcount",
|
||||||
|
|||||||
Reference in New Issue
Block a user