Spaces:
Runtime error
Runtime error
Commit ·
5bf46f4
1
Parent(s): 21c5ce3
updated tweepy exception
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.
|
| 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:
|
| 28 |
print('reached rate limit, sleeping for > 15 mins')
|
| 29 |
time.sleep(15*61)
|
| 30 |
except StopIteration:
|