Commit e39bfdba authored by Raphael Beer's avatar Raphael Beer

Fix: syntax error

parent ec809a2d
......@@ -237,7 +237,7 @@ class TwitterSession:
self.overshot = 0
# count the requests that failed because of rate limiting
if self.remaining is 0:
if self.remaining == 0:
log('[rate-limit] Limit hit by ' + str(self.username) + '.')
self.overshot += 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment