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