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.