aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader
diff options
context:
space:
mode:
Diffstat (limited to 'bh20simplewebuploader')
-rw-r--r--bh20simplewebuploader/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py
index d6e5249..b7da171 100644
--- a/bh20simplewebuploader/main.py
+++ b/bh20simplewebuploader/main.py
@@ -259,7 +259,7 @@ def send_home():
tweets = []
try:
for tweet_id in redis_client.zrevrange('bh20-tweet-score:',
- 0, -1):
+ 0, 9):
tweets.append(
{k.decode("utf-8"): v.decode("utf-8") for k, v in
redis_client.hgetall(tweet_id).items()}