From 6029cdc8319ccf374d51538cc43d55d9ee39d044 Mon Sep 17 00:00:00 2001 From: genofire Date: Tue, 9 Jun 2020 20:22:20 +0200 Subject: fix prometheus --- prometheus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus.py b/prometheus.py index 440971e..9e45d69 100755 --- a/prometheus.py +++ b/prometheus.py @@ -49,7 +49,7 @@ class Prometheus(): def handler(self, metrics_handler): now = time() - if now >= i(self._last_update + self.ttl): + if now >= (self._last_update + self.ttl): self._metrics.update() self._last_update = now -- cgit v1.2.3-54-g00ecf