sane-sysinfo: handle the case of no battery
This commit is contained in:
parent
6963998519
commit
f4d806c0c2
|
@ -255,6 +255,7 @@ def main() -> None:
|
|||
f.suffix_min = args.minute_suffix
|
||||
|
||||
p = try_all_paths()
|
||||
if p is not None:
|
||||
print(pretty_output(f, p))
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Reference in New Issue
Block a user