Unix: allow wtf to tell that it doesn't know something. Fixes ProgVal/Limnoria#256 .

This commit is contained in:
Mikaela Suomalainen 2014-04-27 14:22:16 +03:00
parent 9210aa1a33
commit 030c77f637

View File

@ -245,7 +245,7 @@ class Unix(callbacks.Plugin):
with open(os.devnull, 'r+') as null:
inst = subprocess.Popen([wtfCmd, something],
stdout=subprocess.PIPE,
stderr=null,
stderr=STDOUT,
stdin=null)
except OSError:
irc.error(_('It seems the configured wtf command was not '