From 2d101de20dcd1ac68820c8362ec1dfce6069d45d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Sat, 8 Jun 2024 04:24:37 +0800 Subject: [PATCH] . --- LunaTranslator/LunaTranslator/LunaTranslator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/LunaTranslator/LunaTranslator/LunaTranslator.py b/LunaTranslator/LunaTranslator/LunaTranslator.py index e4c74dcc..0b510d8b 100644 --- a/LunaTranslator/LunaTranslator/LunaTranslator.py +++ b/LunaTranslator/LunaTranslator/LunaTranslator.py @@ -806,6 +806,7 @@ class MAINUI: ) def createsavegamedb(self): + os.makedirs("userconfig", exist_ok=True) self.sqlsavegameinfo = sqlite3.connect( "userconfig/savegame.db", check_same_thread=False, isolation_level=None )