From 5423322cd7178b6d1b408caf49bbc018a2491133 Mon Sep 17 00:00:00 2001 From: Amr Hassan Date: Tue, 11 Jan 2011 07:59:46 +0000 Subject: [PATCH] Fixed a bug in _Network.scrobble_many(...) with missing parameters --- pylast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylast.py b/pylast.py index 3c043c0..4d84560 100644 --- a/pylast.py +++ b/pylast.py @@ -502,7 +502,7 @@ class _Network(object): for arg in additional_args: - if tracks_to_scrobble[i][arg]: + if arg in tracks_to_scrobble[i] and tracks_to_scrobble[i][arg]: if arg in args_map_to: maps_to = args_map_to[arg] else: