Python 3.4 compatibility

This commit is contained in:
Nicolargo 2014-05-26 14:10:42 +02:00
parent 6db66e1276
commit 72617d1ba1

View File

@ -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