mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Database can now analyze consistency of scrobble data
This commit is contained in:
@@ -6,7 +6,7 @@ def replacedict(keys,dbport):
|
||||
from utilities import getArtistInfo
|
||||
|
||||
#hand down the since and from arguments
|
||||
extrakeys = urllib.parse.urlencode(keys)
|
||||
extrakeys = urllib.parse.urlencode(keys,quote_via=urllib.parse.quote,safe="/")
|
||||
|
||||
response = urllib.request.urlopen("http://localhost:" + str(dbport) + "/charts/artists?" + extrakeys)
|
||||
db_data = json.loads(response.read())
|
||||
|
||||
Reference in New Issue
Block a user