diff options
author | genofire <geno+dev@fireorbit.de> | 2020-06-09 20:22:20 +0200 |
---|---|---|
committer | genofire <geno+dev@fireorbit.de> | 2020-06-09 20:22:20 +0200 |
commit | 6029cdc8319ccf374d51538cc43d55d9ee39d044 (patch) | |
tree | c84081d49dec3aac59d23457bda9dadb03633d6d /prometheus.py | |
parent | 52dc918125efce4a1c0f86009d183142a149a81d (diff) |
fix prometheus
Diffstat (limited to 'prometheus.py')
-rwxr-xr-x | prometheus.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |