From 02d9663f5e839b1a74e76b279bfa927d18aca92a Mon Sep 17 00:00:00 2001 From: Swee Date: Sun, 22 Sep 2024 13:20:12 -0700 Subject: [PATCH] Update sweebot.py --- sweebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sweebot.py b/sweebot.py index 0f11818..fcd3ceb 100644 --- a/sweebot.py +++ b/sweebot.py @@ -13,7 +13,7 @@ import threading class config: def __init__(self): import sqlite3 - self.conn = sqlite3.connect(cwd + "/sbirc.db") + self.conn = sqlite3.connect(environ["SBconfig"]) self.database = self.conn.cursor() def perms(self, cloak: str): try: