diff options
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 1 |
1 files changed, 1 insertions, 0 deletions
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: | |||
708 | 708 | ||
709 | Returns a list of `list dicts`_. | 709 | Returns a list of `list dicts`_. |
710 | """ | 710 | """ |
711 | id = self.__unpack_id(id) | ||
711 | params = self.__generate_params(locals(), ['id']) | 712 | params = self.__generate_params(locals(), ['id']) |
712 | url = '/api/v1/accounts/{0}/lists'.format(str(id)) | 713 | url = '/api/v1/accounts/{0}/lists'.format(str(id)) |
713 | return self.__api_request('GET', url, params) | 714 | return self.__api_request('GET', url, params) |