We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dc5c5e commit fc3a791Copy full SHA for fc3a791
plugins/figlet.py
@@ -8,6 +8,6 @@ def init(self):
8
self.add_event_handler('private_say', self.figletize)
9
10
def figletize(self, msg, tab):
11
- process = subprocess.Popen(['figlet', msg['body']], stdout=subprocess.PIPE)
+ process = subprocess.Popen(['figlet', '--', msg['body']], stdout=subprocess.PIPE)
12
result = process.communicate()[0].decode('utf-8')
13
msg['body'] = result
0 commit comments