From b5416a98ba26980991805c18b0a9d957ed9d85ee Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Thu, 5 Oct 2023 18:57:33 +0200 Subject: [PATCH] v0.10.2 --- setup.cfg | 2 +- src/de/p1st/monitor/loggers/drive.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index f22d12f..6454d7f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ [metadata] name = de.p1st.monitor -version = 0.10.1 +version = 0.10.2 author = Daniel Langbein author_email = daniel@systemli.org description = periodically monitor and warn diff --git a/src/de/p1st/monitor/loggers/drive.py b/src/de/p1st/monitor/loggers/drive.py index 5b793a5..978de56 100644 --- a/src/de/p1st/monitor/loggers/drive.py +++ b/src/de/p1st/monitor/loggers/drive.py @@ -42,7 +42,7 @@ class DriveLogger(Logger): # `device` is not `None`, `uuid` might be `None`. if uuid is None: try: - self.uuid = self.get_uuid_from_partition(device) + uuid = self.get_uuid_from_partition(device) except BlkidException as e: raise LoggerArgEx(getattr(e, 'message', e)) # Store as attributes.