diff options
author | mathieui <mathieui@mathieui.net> | 2012-05-10 10:47:45 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-05-10 10:47:45 +0200 |
commit | fc3a791188885d480c4d7a9fe23f209bfe35eb84 (patch) | |
tree | 0dd5b4538cf47cb3e092ef251292e14dec894750 | |
parent | 3dc5c5e5b597d96aef3f7f8886316a9c76849789 (diff) | |
download | poezio-fc3a791188885d480c4d7a9fe23f209bfe35eb84.tar.gz poezio-fc3a791188885d480c4d7a9fe23f209bfe35eb84.tar.bz2 poezio-fc3a791188885d480c4d7a9fe23f209bfe35eb84.tar.xz poezio-fc3a791188885d480c4d7a9fe23f209bfe35eb84.zip |
Do not let figlet interpret - as args
-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 4d147956..0fda098e 100644 --- a/plugins/figlet.py +++ b/plugins/figlet.py @@ -8,6 +8,6 @@ class Plugin(BasePlugin): self.add_event_handler('private_say', self.figletize) def figletize(self, msg, tab): - process = subprocess.Popen(['figlet', msg['body']], stdout=subprocess.PIPE) + process = subprocess.Popen(['figlet', '--', msg['body']], stdout=subprocess.PIPE) result = process.communicate()[0].decode('utf-8') msg['body'] = result |