From 02c7312e876419f5685dc2f21c444da80e36529f Mon Sep 17 00:00:00 2001 From: Spacelord Date: Sat, 2 Apr 2022 22:28:09 +0200 Subject: [PATCH] Fix object mismatch in timeout --- exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exporter.py b/exporter.py index 91452f9..2d8bad0 100755 --- a/exporter.py +++ b/exporter.py @@ -276,7 +276,7 @@ def collect(self): ) finally: logging.info('waiting {}s before next collection cycle'.format(self.__collect_interval_seconds)) - time.sleep(self.__collect_interval_seconds) + time.sleep(int(self.__collect_interval_seconds)) if __name__ == '__main__':