mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Unix: allow wtf to tell that it doesn't know something. Fixes ProgVal/Limnoria#256 .
This commit is contained in:
parent
9210aa1a33
commit
030c77f637
@ -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=null,
|
stderr=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 '
|
||||||
|
Loading…
Reference in New Issue
Block a user