Index: trunk/backup/worker.py |
— | — | @@ -444,7 +444,10 @@ |
445 | 445 | |
446 | 446 | def reportFile(self, file, status): |
447 | 447 | filepath = self.publicPath(file) |
448 | | - if status == "done" and exists(filepath): |
| 448 | + if status == "in-progress" and exists (filepath): |
| 449 | + size = prettySize(getsize(filepath)) |
| 450 | + return "<li class='file'>%s %s (written) </li>" % (file, size) |
| 451 | + elif status == "done" and exists(filepath): |
449 | 452 | size = prettySize(getsize(filepath)) |
450 | 453 | webpath = self.webPath(file) |
451 | 454 | return "<li class='file'><a href=\"%s\">%s</a> %s</li>" % (webpath, file, size) |