mirror of https://github.com/zulip/zulip.git
bugdown: Fix mypy error with empty return.
This commit is contained in:
parent
8600efcf36
commit
7d49ce13b1
|
@ -1113,7 +1113,7 @@ class UserMentionPattern(markdown.inlinepatterns.Pattern):
|
|||
name = match[2:-2]
|
||||
else:
|
||||
if not mention.user_mention_matches_wildcard(match):
|
||||
return
|
||||
return None
|
||||
name = match
|
||||
|
||||
wildcard = mention.user_mention_matches_wildcard(name)
|
||||
|
|
Loading…
Reference in New Issue