mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Fix a bug for when showFactoidIfOnlyOneMatch is set
This commit is contained in:
parent
f95f5a09ac
commit
80fe67519b
@ -487,7 +487,7 @@ class Factoids(callbacks.Privmsg):
|
|||||||
try:
|
try:
|
||||||
factoids = self.db.select(channel, values, predicates, L)
|
factoids = self.db.select(channel, values, predicates, L)
|
||||||
if isinstance(factoids, basestring):
|
if isinstance(factoids, basestring):
|
||||||
self.whatis(irc, msg, factoids)
|
self.whatis(irc, msg, [factoids])
|
||||||
elif factoids is None:
|
elif factoids is None:
|
||||||
irc.reply('More than 100 keys matched that query; '
|
irc.reply('More than 100 keys matched that query; '
|
||||||
'please narrow your query.')
|
'please narrow your query.')
|
||||||
|
Loading…
Reference in New Issue
Block a user