From 960fb2dc828c00b56e98da1fdbaf3a27de07e583 Mon Sep 17 00:00:00 2001 From: David Sangrey Date: Sun, 28 Apr 2024 15:34:02 -0400 Subject: [PATCH] [1808] Add Folder If Not Exist --- update.py | 1 + 1 file changed, 1 insertion(+) diff --git a/update.py b/update.py index e1dc4976d..f7d56a5c1 100644 --- a/update.py +++ b/update.py @@ -35,6 +35,7 @@ def check_for_fdev_updates(silent: bool = False) -> None: # noqa: CCR001 for file, url in files_urls: fdevid_file = pathlib.Path(config.respath_path / 'FDevIDs' / file) + fdevid_file.parent.mkdir(parents=True, exist_ok=True) try: with open(fdevid_file, newline='', encoding='utf-8') as f: local_content = f.read()