mirror of
https://github.com/nicolargo/glances.git
synced 2025-01-01 14:04:50 +03:00
Python 3.4 compatibility
This commit is contained in:
parent
6db66e1276
commit
72617d1ba1
@ -92,7 +92,7 @@ class glancesGrabBat:
|
||||
self.bat_list = []
|
||||
self.update()
|
||||
except Exception as e:
|
||||
print "Warning: Can not grab batterie sensor. Missing BatInfo lib (%s)" % e
|
||||
print(_("Warning: Can not grab batterie sensor. Missing BatInfo lib (%s).") % e)
|
||||
self.initok = False
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user