From 72617d1ba145f0ee2f16dfda73b22968b0139eab Mon Sep 17 00:00:00 2001 From: Nicolargo Date: Mon, 26 May 2014 14:10:42 +0200 Subject: [PATCH] Python 3.4 compatibility --- glances/plugins/glances_batpercent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glances/plugins/glances_batpercent.py b/glances/plugins/glances_batpercent.py index 2a91913c..72dd716e 100644 --- a/glances/plugins/glances_batpercent.py +++ b/glances/plugins/glances_batpercent.py @@ -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