mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-30 17:24:31 +01:00
doc
This commit is contained in:
parent
a44e40d004
commit
f285a8e9fa
4
.github/formats-info.py
vendored
4
.github/formats-info.py
vendored
@ -317,7 +317,7 @@ class App:
|
||||
with open(file, 'r', encoding='utf-8') as f:
|
||||
is_updating = False
|
||||
for line in f:
|
||||
line = line.strip()
|
||||
line = line.strip('\n')
|
||||
|
||||
# find list section, add all current lines and ignore old ones until next section
|
||||
if line.startswith('### List'):
|
||||
@ -334,6 +334,8 @@ class App:
|
||||
if not is_updating:
|
||||
doc_lines.append(line)
|
||||
|
||||
doc_lines.append('')
|
||||
|
||||
with open(file, 'w', encoding='utf-8', newline='\n') as f:
|
||||
f.write('\n'.join(doc_lines))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user