From a5b487eefe1a569390705230a7b22ca86aabf1ae Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 1 Sep 2019 23:45:06 -0500 Subject: [PATCH] Optimize API.statuses_lookup --- tweepy/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/api.py b/tweepy/api.py index 3099329..4ffd77b 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -104,7 +104,7 @@ class API(object): :allowed_param: 'id', 'include_entities', 'trim_user', 'map', 'include_ext_alt_text', 'include_card_uri' """ - kwargs.update({'id': list_to_csv(id_)}) + kwargs['id'] = list_to_csv(id_) if 'map_' in kwargs: kwargs['map'] = kwargs.pop('map_') -- 2.25.1