Mercurial > libervia-backend
diff frontends/src/primitivus/progress.py @ 587:952322b1d490
Remove trailing whitespaces.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 18 Jan 2013 17:55:34 +0100 |
parents | ca13633d3b6b |
children | 84a6e83157c2 |
line wrap: on
line diff
--- a/frontends/src/primitivus/progress.py Fri Jan 18 17:55:27 2013 +0100 +++ b/frontends/src/primitivus/progress.py Fri Jan 18 17:55:34 2013 +0100 @@ -55,7 +55,7 @@ #first answer, we must construct the bar self.progress_dict[(progress_id, profile)]['state'] = 'progress' pbar.done = float(data['size']) - + pbar.set_completion(float(data['position'])) self.updateNotBar() else: @@ -93,4 +93,4 @@ nb_bars+=1 av_progress = progress/float(nb_bars) self.host.setProgress(av_progress) - +