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:
|
||||
return True
|
||||
|
||||
|
||||
if request.method == 'OPTIONS':
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user