mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Merge branch 'testing' of https://github.com/ProgVal/Limnoria into testing
This commit is contained in:
commit
c154d2a51c
@ -230,7 +230,7 @@ class Unix(callbacks.Plugin):
|
|||||||
'variable appropriately.'))
|
'variable appropriately.'))
|
||||||
|
|
||||||
@internationalizeDocstring
|
@internationalizeDocstring
|
||||||
def wtf(self, irc, msg, args, _, something):
|
def wtf(self, irc, msg, args, foo, something):
|
||||||
"""[is] <something>
|
"""[is] <something>
|
||||||
|
|
||||||
Returns wtf <something> is. 'wtf' is a *nix command that first
|
Returns wtf <something> is. 'wtf' is a *nix command that first
|
||||||
@ -248,7 +248,7 @@ class Unix(callbacks.Plugin):
|
|||||||
except OSError:
|
except OSError:
|
||||||
irc.error(_('It seems the configured wtf command was not '
|
irc.error(_('It seems the configured wtf command was not '
|
||||||
'available.'), Raise=True)
|
'available.'), Raise=True)
|
||||||
(out, _) = inst.communicate()
|
(out, foo) = inst.communicate()
|
||||||
inst.wait()
|
inst.wait()
|
||||||
if out:
|
if out:
|
||||||
response = out.decode('utf8').splitlines()[0].strip()
|
response = out.decode('utf8').splitlines()[0].strip()
|
||||||
|
Loading…
Reference in New Issue
Block a user