diff options
author | mathieui <mathieui@mathieui.net> | 2011-11-09 14:29:13 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2011-11-09 14:29:13 +0100 |
commit | aee7baab245e7edabc960e52f6062393197b6a38 (patch) | |
tree | 194bdb1b2dc1f19c384c20166f71faa2480e7da8 /plugins/figlet.py | |
parent | 5e840e64373522c484dfd4e24d4a60bcb7c21825 (diff) | |
download | poezio-aee7baab245e7edabc960e52f6062393197b6a38.tar.gz poezio-aee7baab245e7edabc960e52f6062393197b6a38.tar.bz2 poezio-aee7baab245e7edabc960e52f6062393197b6a38.tar.xz poezio-aee7baab245e7edabc960e52f6062393197b6a38.zip |
Same as previous commit, but with _say
Diffstat (limited to 'plugins/figlet.py')
-rw-r--r-- | plugins/figlet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/figlet.py b/plugins/figlet.py index 52bbc67a..4d147956 100644 --- a/plugins/figlet.py +++ b/plugins/figlet.py @@ -7,7 +7,7 @@ class Plugin(BasePlugin): self.add_event_handler('conversation_say', self.figletize) self.add_event_handler('private_say', self.figletize) - def figletize(self, msg): + def figletize(self, msg, tab): process = subprocess.Popen(['figlet', msg['body']], stdout=subprocess.PIPE) result = process.communicate()[0].decode('utf-8') msg['body'] = result |