_all_factoids() takes an array of targets
This commit is contained in:
parent
9e5a0da663
commit
9f2a245f6e
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
exists = not self._get_factoid([["", target]], factoid) == None
|
exists = not self._get_factoid([["", target]], factoid) == None
|
||||||
|
|
||||||
if event["spec"][0] == "list":
|
if event["spec"][0] == "list":
|
||||||
all_factoids = self._all_factoids(target)
|
all_factoids = self._all_factoids([target])
|
||||||
event["stdout"].write("Available %s factoids: %s"
|
event["stdout"].write("Available %s factoids: %s"
|
||||||
% (target_desc, ", ".join(sorted(all_factoids.keys()))))
|
% (target_desc, ", ".join(sorted(all_factoids.keys()))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue