mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-18 04:02:35 +03:00
Update throttling.py
Flake8 newline empty
This commit is contained in:
parent
2fa181754e
commit
25277bc492
|
@ -108,7 +108,7 @@ class SimpleRateThrottle(BaseThrottle):
|
|||
return (None, None)
|
||||
num, period = rate.split('/')
|
||||
num_requests = int(num)
|
||||
|
||||
|
||||
denominator = period[:-1]
|
||||
m = re.search(self._RATE_DENOMINATOR_REGEX, denominator)
|
||||
dg = m.groups()
|
||||
|
|
Loading…
Reference in New Issue
Block a user