From 1542f2559a045ff850efc2c8881294744f754b5b Mon Sep 17 00:00:00 2001 From: Phillip Tarrant Date: Fri, 11 Dec 2020 10:14:48 -0500 Subject: [PATCH] adding creation of app/config/db directory to helper so if it's not there,it will be created bug introduced by commit 102f63c7 --- app/classes/shared/helpers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/classes/shared/helpers.py b/app/classes/shared/helpers.py index f2ea0d1b..5a276254 100644 --- a/app/classes/shared/helpers.py +++ b/app/classes/shared/helpers.py @@ -39,6 +39,7 @@ class Helpers: self.session_file = os.path.join(self.root_dir, 'app', 'config', 'session.lock') self.settings_file = os.path.join(self.root_dir, 'app', 'config', 'config.json') + self.ensure_dir_exists(os.path.join(self.root_dir, 'app', 'config', 'db')) self.db_path = os.path.join(self.root_dir, 'app', 'config', 'db', 'crafty.sqlite') self.serverjar_cache = os.path.join(self.config_dir, 'serverjars.json') self.passhasher = PasswordHasher()