Fix typo
This commit is contained in:
parent
8a3e700f15
commit
d6f630bd9a
1 changed files with 1 additions and 1 deletions
|
@ -27,5 +27,5 @@ def rewrite_file(filepath):
|
|||
|
||||
|
||||
for filepath in os.listdir():
|
||||
if file.endswith(".txt"):
|
||||
if filepath.endswith(".txt"):
|
||||
rewrite_file(filepath)
|
||||
|
|
Loading…
Reference in a new issue