mirror of
https://codeberg.org/privacy1st/de-p1st-monitor
synced 2024-11-21 19:33:18 +01:00
v0.10.2
This commit is contained in:
parent
5e7e19bb5b
commit
b5416a98ba
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
[metadata]
|
[metadata]
|
||||||
name = de.p1st.monitor
|
name = de.p1st.monitor
|
||||||
version = 0.10.1
|
version = 0.10.2
|
||||||
author = Daniel Langbein
|
author = Daniel Langbein
|
||||||
author_email = daniel@systemli.org
|
author_email = daniel@systemli.org
|
||||||
description = periodically monitor and warn
|
description = periodically monitor and warn
|
||||||
|
@ -42,7 +42,7 @@ class DriveLogger(Logger):
|
|||||||
# `device` is not `None`, `uuid` might be `None`.
|
# `device` is not `None`, `uuid` might be `None`.
|
||||||
if uuid is None:
|
if uuid is None:
|
||||||
try:
|
try:
|
||||||
self.uuid = self.get_uuid_from_partition(device)
|
uuid = self.get_uuid_from_partition(device)
|
||||||
except BlkidException as e:
|
except BlkidException as e:
|
||||||
raise LoggerArgEx(getattr(e, 'message', e))
|
raise LoggerArgEx(getattr(e, 'message', e))
|
||||||
# Store as attributes.
|
# Store as attributes.
|
||||||
|
Loading…
Reference in New Issue
Block a user