1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Better time window specifications (since, to and in)

This commit is contained in:
Krateng
2019-02-15 15:41:58 +01:00
parent 3a06123255
commit 4faf9a9490
5 changed files with 54 additions and 31 deletions

View File

@@ -26,7 +26,6 @@ def replacedict(keys,dbport):
# get chart data
# artists
print("REQUESTING " + "http://[::1]:" + str(dbport) + "/charts/artists")
response = urllib.request.urlopen("http://[::1]:" + str(dbport) + "/charts/artists")
db_data = json.loads(response.read())
charts = db_data["list"][:max_show]