From 822108eac601df585c0f86bd0876f1b831ca24d6 Mon Sep 17 00:00:00 2001 From: KukovecRok Date: Tue, 22 Aug 2023 09:57:54 +0200 Subject: [PATCH] Refactor, rebuild for new version of thumbnails-readme 4.0 --- thumbnails_readme_action.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/thumbnails_readme_action.py b/thumbnails_readme_action.py index 55ecfcf..524f044 100644 --- a/thumbnails_readme_action.py +++ b/thumbnails_readme_action.py @@ -1,3 +1,5 @@ +"""Action for thumbnails_readme.py.""" + from thumbnails_readme import thumbnails_readme from pathlib import Path @@ -26,7 +28,7 @@ # WSL path path_to_thumbnails_folder = path / "/image_thumbnails" -path_to_readme = path / "/README.md" +path_to_readme = Path(path / 'README.md') if __name__ == "__main__": thumbnails_readme.prepare_thumbnails_folder(path_to_thumbnails_folder)