From 95461f74b2789111e95f5f9f08668da6b4c69bec Mon Sep 17 00:00:00 2001 From: Abdo Date: Mon, 1 Jul 2024 15:36:49 +0300 Subject: [PATCH] Ensure dictionaries folder exist --- src/consts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/consts.py b/src/consts.py index ea884c2..792a674 100644 --- a/src/consts.py +++ b/src/consts.py @@ -19,3 +19,4 @@ class AddonConsts(BaseAddonConsts): dicts_dir=base_consts.dir / "user_files" / "dictionaries", icons_dir=base_consts.dir / "icons" ) +consts.dicts_dir.mkdir(exist_ok=True)