From cfb8edb4898d9c69e3c7774342ffd5dbbd76b6a8 Mon Sep 17 00:00:00 2001 From: Jim Rybarski Date: Wed, 4 Sep 2013 23:06:32 -0500 Subject: [PATCH] Added optional sleep time between API calls made with the cursor method --- twython/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twython/api.py b/twython/api.py index 97d9c37..4324747 100644 --- a/twython/api.py +++ b/twython/api.py @@ -400,7 +400,7 @@ class Twython(EndpointsMixin, object): if not content: raise StopIteration - + if hasattr(function, 'iter_key'): results = content.get(function.iter_key) else: