Fix some style nitpicks

This commit is contained in:
Marco Pesenti Gritti
2007-07-06 03:48:03 +02:00
parent 05379e85c1
commit a1b6625a6a
3 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ class BatteryPalette(Palette):
def update_progress_bar(self, percent):
self._level = percent
fraction = float(percent/100.0)
fraction = percent / 100.0
self._progress_bar.set_fraction(fraction)
def update_charge_status(self, charging, discharging):