diff options
author | Parker <contact@pkrm.dev> | 2025-01-20 20:44:23 -0600 |
---|---|---|
committer | Parker <contact@pkrm.dev> | 2025-01-20 20:44:23 -0600 |
commit | e5ede625b3fc7e0b71736b42eb4f52a2f5d63378 (patch) | |
tree | 5bc66919f871cdba0e8f6f9848aad1b0cdbed838 /code/cogs/newaccount.py | |
parent | 4a1a69e76fae77f831648c5e126c5213edc4255d (diff) |
Put database within data dir
Diffstat (limited to 'code/cogs/newaccount.py')
-rw-r--r-- | code/cogs/newaccount.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/cogs/newaccount.py b/code/cogs/newaccount.py index b341147..54d53b6 100644 --- a/code/cogs/newaccount.py +++ b/code/cogs/newaccount.py @@ -20,7 +20,7 @@ class NewAccount(commands.Cog): async def newaccount(self, interaction: discord.Interaction) -> None: """Create a new temporary Jellyfin account""" # Make sure the user doesn't already have an account - db = sqlite3.connect("cordarr.db") + db = sqlite3.connect("data/cordarr.db") cursor = db.cursor() cursor.execute( "SELECT * FROM jellyfin_accounts WHERE user_id = ?", |