summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-07-06 13:22:06 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-07-06 13:22:06 +0200
commitc8f875142a51834be1e0fe838f154a273fa342bf (patch)
tree10b846bc7c31b0156da9023d132234c9f76b6e4e
parentc5d763914ad37351f828dacc6a1fcd0c970e5951 (diff)
dfatool: EnergyTraceLog: Log error if zbar is not available
-rw-r--r--lib/dfatool.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dfatool.py b/lib/dfatool.py
index 194b042..07aa7b3 100644
--- a/lib/dfatool.py
+++ b/lib/dfatool.py
@@ -1273,6 +1273,7 @@ class EnergyTraceLog:
"""
if not zbar_available:
+ logger.error("zbar module is not available")
self.errors.append(
'zbar module is not available. Try "apt install python3-zbar"'
)