fix changelog
This commit is contained in:
parent
a45445d114
commit
b7d140e36a
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ def add_record(action, *args, **kwargs):
|
|||
state.changelog_size = 0
|
||||
makefolder(path)
|
||||
with open(path, mode) as fd:
|
||||
fd.write(data + '\n')
|
||||
fd.write(data + b'\n')
|
||||
state.changelog_size = os.path.getsize(path)
|
||||
#logger.debug('record change: %s', data)
|
||||
|
||||
|
|
Loading…
Reference in a new issue