mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 12:30:11 +03:00
fix lint error
This commit is contained in:
parent
2198ab9284
commit
b3e8e85e78
|
@ -118,7 +118,7 @@ class SimpleRateThrottle(BaseThrottle):
|
||||||
"""
|
"""
|
||||||
if self.rate is None:
|
if self.rate is None:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if request.method == 'OPTIONS':
|
if request.method == 'OPTIONS':
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user