diff --git a/tools/dash-separated-format.py b/tools/dash-separated-format.py index 9aed02136..d0343fb1d 100755 --- a/tools/dash-separated-format.py +++ b/tools/dash-separated-format.py @@ -3,9 +3,7 @@ import pathlib import subprocess for filename in pathlib.Path('.').glob('**/*.md'): - # f = open(filename) - print('file: %s' % filename) new_filename = str(filename).lower().replace(' ', '-') - command = ['git', 'mv', filename, new_filename] + command = ['git', 'mv', str(filename), new_filename] print('would run: %s' % command) # subprocess.run(command)