From 48b42c656c81c508122ad97bcb4abf0da7e1cb9c Mon Sep 17 00:00:00 2001 From: Sergey Vartanov Date: Tue, 22 Aug 2023 23:54:07 +0400 Subject: [PATCH] Add directory creation --- roentgen/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/roentgen/__main__.py b/roentgen/__main__.py index 619411e..21bd3ae 100644 --- a/roentgen/__main__.py +++ b/roentgen/__main__.py @@ -41,6 +41,7 @@ def draw_icons( collection.draw_icons(icons_by_id_path, license_path) icons_by_name_path: Path = output_path / "icons_by_name" + icons_by_name_path.mkdir(exist_ok=True) collection.draw_icons(icons_by_name_path, license_path, by_name=True) logging.info(