diff --git a/pylast/__init__.py b/pylast/__init__.py index da5cb5e..6076d42 100644 --- a/pylast/__init__.py +++ b/pylast/__init__.py @@ -4197,13 +4197,13 @@ class BadSessionError(ScrobblingError): class _ScrobblerRequest(object): - def __init__(self, url, params, network, type="POST"): + def __init__(self, url, params, network, request_type="POST"): for key in params: params[key] = str(params[key]) self.params = params - self.type = type + self.type = request_type (self.hostname, self.subdir) = url_split_host(url[len("http:"):]) self.network = network