From 25277bc492578d2d4158f9eb93a27364db8b2610 Mon Sep 17 00:00:00 2001 From: awiebe Date: Fri, 25 Aug 2023 17:28:06 -0700 Subject: [PATCH] Update throttling.py Flake8 newline empty --- rest_framework/throttling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/throttling.py b/rest_framework/throttling.py index 56c893538..1d5799ea0 100644 --- a/rest_framework/throttling.py +++ b/rest_framework/throttling.py @@ -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()