Activate looping script
This commit is contained in:
parent
59e75f3550
commit
8a3e700f15
1 changed files with 3 additions and 3 deletions
|
@ -26,6 +26,6 @@ def rewrite_file(filepath):
|
|||
|
||||
|
||||
|
||||
# for filepath in os.listdir():
|
||||
# if file.endswith(".txt"):
|
||||
# rewrite_file(filepath)
|
||||
for filepath in os.listdir():
|
||||
if file.endswith(".txt"):
|
||||
rewrite_file(filepath)
|
||||
|
|
Loading…
Reference in a new issue