From 73564eccc15af1bb2d0d1a33fe502d471a1eff51 Mon Sep 17 00:00:00 2001 From: krateng Date: Mon, 14 Feb 2022 06:42:27 +0100 Subject: [PATCH] More fixes --- maloja/apis/native_v1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maloja/apis/native_v1.py b/maloja/apis/native_v1.py index 31cd3aa..641f06d 100644 --- a/maloja/apis/native_v1.py +++ b/maloja/apis/native_v1.py @@ -234,7 +234,7 @@ def post_scrobble(artist:Multi=None,**keys): #artists = "/".join(artist) 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(time) + if keys.get('time') is not None: keys['time'] = int(keys.get('time')) return incoming_scrobble(**keys,client=request.malojaclient) # TODO: malojaclient needs to be converted to proper argument in doreah