mirror of
https://github.com/krateng/maloja.git
synced 2025-04-16 08:50:32 +03:00
Even more fixes
This commit is contained in:
parent
73564eccc1
commit
b95d1e8b0c
@ -232,7 +232,8 @@ def post_scrobble(artist:Multi=None,**keys):
|
||||
:param boolean nofix: Skip server-side metadata parsing. Optional.
|
||||
"""
|
||||
#artists = "/".join(artist)
|
||||
keys['artists'] = [artist] if artist is not None else keys.get("artists")
|
||||
# url multi args automatically become list
|
||||
keys['artists'] = artist if artist is not None else keys.get("artists")
|
||||
keys['fix'] = keys.get("nofix") is None
|
||||
if keys.get('time') is not None: keys['time'] = int(keys.get('time'))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user