1
0
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:
Unknown
2020-09-03 05:38:02 +02:00
parent c8ba06b7b6
commit 139cb94276
2 changed files with 13 additions and 13 deletions

View File

@@ -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)