Unix: Fix @wtf.

This commit is contained in:
Valentin Lorentz 2014-05-02 17:32:19 +00:00
parent 6248d3a603
commit e7169e9143

View File

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