From 5213152477e9600536c3d2d08898d32b385aea76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Tue, 13 Feb 2018 16:29:45 +0100 Subject: [PATCH] Remove obsolete TODO --- lib/tfw/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tfw/util.py b/lib/tfw/util.py index ab9ab83..7ee99cc 100644 --- a/lib/tfw/util.py +++ b/lib/tfw/util.py @@ -47,7 +47,7 @@ class RateLimiter: fun(*args, **kwargs) return wrapper - def _limit_rate(self): #TODO: pls review me :3 + def _limit_rate(self): since_last_call = time() - self.last_call to_next_call = self.min_interval - since_last_call self.last_call = time()