Closed lasers closed 5 years ago
The problem is not caused by mem module. It comes from psutil or the data.
mem
psutil
Please make a decision. 1) Print negative value as-is. Users have to accept this issue. 2) Print 0.0 instead. Users won't see this issue. (Current)
0.0
I remove if statement for psutil old version too.
Closes https://github.com/enkore/i3pystatus/issues/580.
I agree this issue comes upstream. I think this is the right decision, i was deciding between doing this or just not updating the module when a wrong negative value was calculated.
The problem is not caused by
mem
module. It comes frompsutil
or the data.Please make a decision. 1) Print negative value as-is. Users have to accept this issue. 2) Print
0.0
instead. Users won't see this issue. (Current)I remove if statement for
psutil
old version too.Closes https://github.com/enkore/i3pystatus/issues/580.