Spaces:
Runtime error
Runtime error
Commit
·
2e9f562
1
Parent(s):
5bf46f4
TweepyException
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def limit_handled(cursor):
|
|
| 24 |
while True:
|
| 25 |
try:
|
| 26 |
yield cursor.next()
|
| 27 |
-
except tweepy.errors:
|
| 28 |
print('reached rate limit, sleeping for > 15 mins')
|
| 29 |
time.sleep(15*61)
|
| 30 |
except StopIteration:
|
|
|
|
| 24 |
while True:
|
| 25 |
try:
|
| 26 |
yield cursor.next()
|
| 27 |
+
except tweepy.errors.TweepyException:
|
| 28 |
print('reached rate limit, sleeping for > 15 mins')
|
| 29 |
time.sleep(15*61)
|
| 30 |
except StopIteration:
|