From 2ea1524c7f8552b91d3ff8dc7922833e72c65b84 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Sun, 3 Nov 2024 15:12:52 +0200 Subject: [PATCH] fix tuple for array --- restic_exporter/restic_exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restic_exporter/restic_exporter.py b/restic_exporter/restic_exporter.py index 04013bf..08cf1db 100644 --- a/restic_exporter/restic_exporter.py +++ b/restic_exporter/restic_exporter.py @@ -54,7 +54,7 @@ class ResticExporter: self._write_metrics() def _read_summary_from_systemd(self,): - self.summaries = () + self.summaries = [] journal_obj = journal.Reader() journal_obj.seek_realtime(datetime.now() - timedelta(days=1)) journal_obj.add_match('_EXE=/usr/local/bin/restic')