diff options
author | Lorenz Diener <[email protected]> | 2018-05-06 15:42:38 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-05-06 15:42:38 +0200 |
commit | ba2fccc1cf0957387f616da64c20e329eba95263 (patch) | |
tree | 3a213922cd66f04ce526c349ff56724f9b2d56e8 /mastodon | |
parent | bb92f76e61063bbe59868659fb42824d3649c7b2 (diff) | |
download | mastodon.py-ba2fccc1cf0957387f616da64c20e329eba95263.tar.gz |
Add lists tests and fix a bug
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) |