diff options
author | facelessuser <faceless.shop@gmail.com> | 2017-10-25 21:07:08 -0600 |
---|---|---|
committer | Waylan Limberg <waylan.limberg@icloud.com> | 2017-10-26 09:00:45 -0400 |
commit | f018b0ede5a49c8d711351d8e9ff437c97cf3acc (patch) | |
tree | ae96d7b37855c1bf2954e38a6fb1eee1ecfaba9a | |
parent | e839a487edd1f6ceeb07577c015b5979b7a3ebd1 (diff) | |
download | markdown-f018b0ede5a49c8d711351d8e9ff437c97cf3acc.tar.gz markdown-f018b0ede5a49c8d711351d8e9ff437c97cf3acc.tar.bz2 markdown-f018b0ede5a49c8d711351d8e9ff437c97cf3acc.zip |
Fix new flake8 722 error
-rw-r--r-- | markdown/inlinepatterns.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/inlinepatterns.py b/markdown/inlinepatterns.py index f9d0610..3658ebd 100644 --- a/markdown/inlinepatterns.py +++ b/markdown/inlinepatterns.py @@ -350,7 +350,7 @@ class HtmlPattern(Pattern): if value is not None: try: return self.markdown.serializer(value) - except: + except Exception: return r'\%s' % value return util.INLINE_PLACEHOLDER_RE.sub(get_stash, text) |