Documentation: Fix typos with automated tool (#5319)

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
luzpaz
2024-01-08 11:58:41 -05:00
committed by GitHub
parent f1bf1ddc54
commit 58bf9c552b
22 changed files with 33 additions and 33 deletions

View File

@@ -224,7 +224,7 @@ def generate_filename(
if settings.FILENAME_FORMAT_REMOVE_NONE:
path = path.replace("/-none-/", "/") # remove empty directories
path = path.replace(" -none-", "") # remove when spaced, with space
path = path.replace("-none-", "") # remove rest of the occurences
path = path.replace("-none-", "") # remove rest of the occurrences
path = path.replace("-none-", "none") # backward compatibility
path = path.strip(os.sep)