mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Unix: update logging
This commit is contained in:
parent
63a7a03498
commit
d5b7a27685
@ -395,8 +395,8 @@ class Unix(callbacks.Plugin):
|
||||
you don't run anything that will spamify your channel or that
|
||||
will bring your machine to its knees.
|
||||
"""
|
||||
self.log.info('Unix: running command "%s" for %s/%s' % (text, msg.nick,
|
||||
irc.network))
|
||||
self.log.info('Unix: running command "%s" for %s/%s', text, msg.nick,
|
||||
irc.network)
|
||||
args = shlex.split(text)
|
||||
try:
|
||||
with open(os.devnull) as null:
|
||||
@ -427,8 +427,8 @@ class Unix(callbacks.Plugin):
|
||||
you don't run anything that will spamify your channel or that
|
||||
will bring your machine to its knees.
|
||||
"""
|
||||
self.log.info('Unix: running command "%s" for %s/%s' % (text, msg.nick,
|
||||
irc.network))
|
||||
self.log.info('Unix: running command "%s" for %s/%s', text, msg.nick,
|
||||
irc.network)
|
||||
try:
|
||||
with open(os.devnull) as null:
|
||||
inst = subprocess.Popen(text,
|
||||
|
Loading…
Reference in New Issue
Block a user