posting code is fine, in fact since you took the trouble of tracking down the fix (something I was insufficiently motivated to do), I'll even include it in the next calibre release.
But I would discourage people from putting the .py file into the calibre installation directory. The reason is that has the potential of breaking upgrades, since an upgrade wont touch that file and it will take precedence over the .pyo file from the upgrade.
|