Skip to content

Commit

Permalink
[1808] Add Folder If Not Exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Rixxan committed Apr 28, 2024
1 parent a6b46ac commit 960fb2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions update.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 960fb2d

Please sign in to comment.