Skip to content

Commit 16c80c2

Browse files
authored
Merge pull request #67 from sharpHL/master
changing default value of call
2 parents 18d5f33 + 140ce19 commit 16c80c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ratelimit/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class RateLimitDecorator(object):
1919
'''
2020
Rate limit decorator class.
2121
'''
22-
def __init__(self, calls=15, period=900, clock=now(), raise_on_limit=True):
22+
def __init__(self, calls=15, period=900, clock=now, raise_on_limit=True):
2323
'''
2424
Instantiate a RateLimitDecorator with some sensible defaults. By
2525
default the Twitter rate limiting window is respected (15 calls every

0 commit comments

Comments
 (0)