Imported Upstream version 2.7.1
This commit is contained in:
parent
a1fa151fc7
commit
0121794af9
451 changed files with 41339 additions and 10887 deletions
|
|
@ -856,7 +856,7 @@ class gui_updater( threading.Thread ) :
|
|||
self.__parent_class._interface__widgets["progress_battery_load"].set_text( _("Not available") )
|
||||
|
||||
if ( vars.has_key( "battery.runtime" ) ) :
|
||||
autonomy = int(vars.get("battery.runtime",0))
|
||||
autonomy = int( float( vars.get( "battery.runtime", 0 ) ) )
|
||||
|
||||
if ( autonomy >= 3600 ) :
|
||||
info = time.strftime( _("<b>%H hours %M minutes %S seconds</b>"), time.gmtime( autonomy ) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue