An ignorable suggestion: i would perhaps declare `console_log` so that calls like the above (with calls to `%`, which i'm guessing are frequent), would be written just:

```python
console_log("Uploaded %s out of %s bytes [%s%%]", localize(current), localize(total), pct)
```