typo
This commit is contained in:
parent
7188aa1904
commit
d65c85b0a8
1 changed files with 2 additions and 2 deletions
|
@ -38,9 +38,9 @@ class CommandLogger(object):
|
|||
self.filename = filename
|
||||
|
||||
def log(self, *args, **kw):
|
||||
msg = ', '.join(args)
|
||||
msg = ', '.join([str(arg) for arg in args])
|
||||
for k, v in kw:
|
||||
msg += '\n{}={}'.format(k, v)
|
||||
msg += '\n{}={}'.format(k, str(v))
|
||||
with open(self.filename, 'a') as f:
|
||||
f.write(msg)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue