We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 18d5f33 + 140ce19 commit 16c80c2Copy full SHA for 16c80c2
ratelimit/decorators.py
@@ -19,7 +19,7 @@ class RateLimitDecorator(object):
19
'''
20
Rate limit decorator class.
21
22
- def __init__(self, calls=15, period=900, clock=now(), raise_on_limit=True):
+ def __init__(self, calls=15, period=900, clock=now, raise_on_limit=True):
23
24
Instantiate a RateLimitDecorator with some sensible defaults. By
25
default the Twitter rate limiting window is respected (15 calls every
0 commit comments