summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/figlet.py2
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