mirror of
https://github.com/krateng/maloja.git
synced 2025-06-07 10:53:09 +03:00
How tf did that happen, Part 2
This commit is contained in:
parent
a95b2420b2
commit
fbe10930a2
@ -631,7 +631,7 @@ def get_top_albums(dbconn=None,compatibility=True,**keys):
|
|||||||
for rng in rngs:
|
for rng in rngs:
|
||||||
|
|
||||||
result = {'range':rng}
|
result = {'range':rng}
|
||||||
res = get_charts_tracks(timerange=rng,dbconn=dbconn)
|
res = get_charts_albums(timerange=rng,dbconn=dbconn)
|
||||||
|
|
||||||
result['top'] = [
|
result['top'] = [
|
||||||
{'album': r['album'], 'scrobbles': r['scrobbles']}
|
{'album': r['album'], 'scrobbles': r['scrobbles']}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user