pep8
Smarten punctuation: Fix a double quote preceded by a hyphen at the end of a sentence (before the start of the next tag) being converted into an opening quote instead of closing quote. Fixes #1286477 [Smarten punctuation uses wrong character at end of paragraph](https://bugs.launchpad.net/calibre/+bug/1286477)