From ccd5cf6783669b4cfd2ca00280e66949c59272bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?X=C3=A9fir=20Destiny?= Date: Sun, 5 Jan 2020 11:19:39 +0100 Subject: [PATCH] Indent --- connectors.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/connectors.py b/connectors.py index 99ee2f3..fadf5c4 100644 --- a/connectors.py +++ b/connectors.py @@ -39,7 +39,9 @@ class Cache: for connector_func in list(self.CACHE_DATA[connector_class]): for connector_query in list(self.CACHE_DATA[connector_class][connector_func]): for connector_page in list(self.CACHE_DATA[connector_class][connector_func][connector_query]): - if self.CACHE_DATA[connector_class][connector_func][connector_query][connector_page]['timeout'] < timestamp: + if self.CACHE_DATA[connector_class][connector_func][connector_query][connector_page][ + 'timeout' + ] < timestamp: del self.CACHE_DATA[connector_class][connector_func][connector_query][connector_page] if connector.__class__.__name__ not in self.CACHE_DATA: