From cf2dca75200866e6f89d81fc750452934987771c Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Fri, 8 Apr 2011 19:39:40 +0200 Subject: [PATCH] display --- weboob/applications/boobathon/boobathon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/weboob/applications/boobathon/boobathon.py b/weboob/applications/boobathon/boobathon.py index 2f399693..4a3ffc80 100644 --- a/weboob/applications/boobathon/boobathon.py +++ b/weboob/applications/boobathon/boobathon.py @@ -370,7 +370,7 @@ class Boobathon(ReplApplication): d = self.event.end - now msg = 'The event will be finished in %d days, %02d:%02d:%02d' - print msg % (d.days, d.seconds/3600%24, d.seconds%3600/60, d.seconds%60) + print msg % (d.days, d.seconds/3600, d.seconds%3600/60, d.seconds%60) def do_tasks(self, line): """ @@ -619,6 +619,7 @@ class Boobathon(ReplApplication): last_done = i elif task.status == task.STATUS_PROGRESS: task.status = task.STATUS_NONE + print 'Task #%s (%s,%s) canceled.' % (i, task.backend, task.capability) if (i == task_id or task_id < 0) and task.status == task.STATUS_NONE: break