mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-01-31 06:33:44 +00:00
Fix copy / paste oversight (#2448)
This commit is contained in:
parent
363858ef3b
commit
697495b017
|
@ -19,7 +19,7 @@ if space_files:
|
||||||
|
|
||||||
hyphen_files = [file for file in filepaths if "-" in file]
|
hyphen_files = [file for file in filepaths if "-" in file]
|
||||||
if hyphen_files:
|
if hyphen_files:
|
||||||
print(f"{len(hyphen_files)} files contain space characters:")
|
print(f"{len(hyphen_files)} files contain hyphen characters:")
|
||||||
print("\n".join(hyphen_files) + "\n")
|
print("\n".join(hyphen_files) + "\n")
|
||||||
|
|
||||||
nodir_files = [file for file in filepaths if os.sep not in file]
|
nodir_files = [file for file in filepaths if os.sep not in file]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user