aboutsummaryrefslogtreecommitdiff
path: root/code/utils/content_view.py
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2025-01-20 20:44:23 -0600
committerParker <contact@pkrm.dev>2025-01-20 20:44:23 -0600
commite5ede625b3fc7e0b71736b42eb4f52a2f5d63378 (patch)
tree5bc66919f871cdba0e8f6f9848aad1b0cdbed838 /code/utils/content_view.py
parent4a1a69e76fae77f831648c5e126c5213edc4255d (diff)
Put database within data dir
Diffstat (limited to 'code/utils/content_view.py')
-rw-r--r--code/utils/content_view.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/utils/content_view.py b/code/utils/content_view.py
index e8df29c..668954f 100644
--- a/code/utils/content_view.py
+++ b/code/utils/content_view.py
@@ -161,7 +161,7 @@ class RequestButtonView(discord.ui.View):
return await interaction.response.send_message(embed=embed)
# Keep track of the requests for the `/status` command
- db = sqlite3.connect("cordarr.db")
+ db = sqlite3.connect("data/cordarr.db")
cursor = db.cursor()
cursor.execute(
"INSERT INTO requests (title, release_year, local_id, tmdbid,"