Format in PowerlineLogger._log, not in pl.exception arguments
This commit is contained in:
parent
08a2e75241
commit
70a9da61f4
|
@ -7,7 +7,7 @@ def run_cmd(pl, cmd, stdin=None):
|
|||
try:
|
||||
p = Popen(cmd, stdout=PIPE, stdin=PIPE)
|
||||
except OSError as e:
|
||||
pl.exception('Could not execute command ({0}): {1}'.format(e, cmd))
|
||||
pl.exception('Could not execute command ({0}): {1}', e, cmd)
|
||||
return None
|
||||
else:
|
||||
stdout, err = p.communicate(stdin)
|
||||
|
|
Loading…
Reference in New Issue