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

More fixes

This commit is contained in:
krateng 2022-02-14 06:42:27 +01:00
parent b53df53c40
commit 73564eccc1

View File

@ -234,7 +234,7 @@ def post_scrobble(artist:Multi=None,**keys):
#artists = "/".join(artist) #artists = "/".join(artist)
keys['artists'] = [artist] if artist is not None else keys.get("artists") keys['artists'] = [artist] if artist is not None else keys.get("artists")
keys['fix'] = keys.get("nofix") is None keys['fix'] = keys.get("nofix") is None
if keys.get('time') is not None: keys['time'] = int(time) if keys.get('time') is not None: keys['time'] = int(keys.get('time'))
return incoming_scrobble(**keys,client=request.malojaclient) return incoming_scrobble(**keys,client=request.malojaclient)
# TODO: malojaclient needs to be converted to proper argument in doreah # TODO: malojaclient needs to be converted to proper argument in doreah