DDG: fix a typo in comments

From: 3729068633
This commit is contained in:
James Lu 2017-01-20 18:51:00 -08:00
parent 48b5016f41
commit 828112eaa1
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class DDG(callbacks.Plugin):
irc.getCallback('DDG').search_core(...)
"""
if show_snippet is None:
# Note: don't use ternary there, or the registry value will override any False
# Note: don't use ternary here, or the registry value will override any False
# settings given to the function directly.
show_snippet = self.registryValue("showSnippet", channel_context)
maxr = max_results or self.registryValue("maxResults", channel_context)