[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [gettor/master] Fix twitter responder for links limit



commit 9dd04d0e64fcfb7faf55ef280b523c57b4b614a2
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Tue Oct 15 20:07:10 2019 +0200

    Fix twitter responder for links limit
---
 gettor/parse/twitter.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gettor/parse/twitter.py b/gettor/parse/twitter.py
index 1c259d5..b132b8d 100644
--- a/gettor/parse/twitter.py
+++ b/gettor/parse/twitter.py
@@ -121,7 +121,7 @@ class TwitterParser(object):
             )
 
             num_requests += yield conn.get_num_requests(
-                id=request['id'], service=request['service']
+                id=str(request['id']), service=request['service']
             )
 
             if num_requests[0][0] < twitter_requests_limit:

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits