From ba2fccc1cf0957387f616da64c20e329eba95263 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sun, 6 May 2018 15:42:38 +0200 Subject: Add lists tests and fix a bug --- mastodon/Mastodon.py | 1 + 1 file changed, 1 insertion(+) (limited to 'mastodon') diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index a2ff65f..6ab9291 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -708,6 +708,7 @@ class Mastodon: Returns a list of `list dicts`_. """ + id = self.__unpack_id(id) params = self.__generate_params(locals(), ['id']) url = '/api/v1/accounts/{0}/lists'.format(str(id)) return self.__api_request('GET', url, params) -- cgit v1.2.3