From 78f2aa94a906e30c41c20c4225c50b0f3ca3a939 Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 2 Sep 2019 00:16:55 -0500 Subject: [PATCH] Fix handling of positional arguments for API.statuses_lookup --- tweepy/api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index 1e1a249..0162c97 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -104,7 +104,6 @@ class API(object): :allowed_param: 'id', 'include_entities', 'trim_user', 'map', 'include_ext_alt_text', 'include_card_uri' """ - kwargs['id'] = list_to_csv(id_) if 'map_' in kwargs: kwargs['map'] = kwargs.pop('map_') @@ -115,7 +114,7 @@ class API(object): allowed_param=['id', 'include_entities', 'trim_user', 'map', 'include_ext_alt_text', 'include_card_uri'], require_auth=True - )(*args, **kwargs) + )(list_to_csv(id_), *args, **kwargs) @property def user_timeline(self): -- 2.25.1