mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 06:35:42 +07:00
flake8 hotfix
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
oldreadme = f.read()
|
||||
|
||||
header = oldreadme[:oldreadme.index('# OPTIONS')]
|
||||
#footer = oldreadme[oldreadme.index('# CONFIGURATION'):]
|
||||
# footer = oldreadme[oldreadme.index('# CONFIGURATION'):]
|
||||
|
||||
options = helptext[helptext.index(' General Options:') + 19:]
|
||||
options = re.sub(r'(?m)^ (\w.+)$', r'## \1', options)
|
||||
@@ -23,4 +23,4 @@
|
||||
with io.open(README_FILE, 'w', encoding='utf-8') as f:
|
||||
f.write(header)
|
||||
f.write(options)
|
||||
#f.write(footer)
|
||||
# f.write(footer)
|
||||
|
||||
Reference in New Issue
Block a user