mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-26 10:05:19 +00:00
Lower debug messages level.
This commit is contained in:
parent
81637f4572
commit
0e4747bf22
@ -236,7 +236,7 @@ class PiecesBar(gtk.DrawingArea):
|
||||
else:
|
||||
format = "%.2f%%"
|
||||
text += format % (self.__fraction*100)
|
||||
log.debug("PiecesBar text %r", text)
|
||||
log.trace("PiecesBar text %r", text)
|
||||
pl.set_text(text)
|
||||
plsize = pl.get_size()
|
||||
text_width = plsize[0]/pango.SCALE
|
||||
@ -284,7 +284,7 @@ class PiecesBar(gtk.DrawingArea):
|
||||
return self.__state
|
||||
|
||||
def update_from_status(self, status):
|
||||
log.debug("Updating PiecesBar from status")
|
||||
log.trace("Updating PiecesBar from status")
|
||||
self.set_fraction(status["progress"]/100)
|
||||
torrent_state = status["state"]
|
||||
self.set_state(torrent_state)
|
||||
|
Loading…
x
Reference in New Issue
Block a user