mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +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.'))
|
||||
|
||||
@internationalizeDocstring
|
||||
def wtf(self, irc, msg, args, _, something):
|
||||
def wtf(self, irc, msg, args, foo, something):
|
||||
"""[is] <something>
|
||||
|
||||
Returns wtf <something> is. 'wtf' is a *nix command that first
|
||||
@ -248,7 +248,7 @@ class Unix(callbacks.Plugin):
|
||||
except OSError:
|
||||
irc.error(_('It seems the configured wtf command was not '
|
||||
'available.'), Raise=True)
|
||||
(out, _) = inst.communicate()
|
||||
(out, foo) = inst.communicate()
|
||||
inst.wait()
|
||||
if out:
|
||||
response = out.decode('utf8').splitlines()[0].strip()
|
||||
|
Loading…
Reference in New Issue
Block a user