From 00205677e92f354ddc186be6681bb4afe8c6e170 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 5 Jun 2019 17:59:16 -0400 Subject: [PATCH] patch for no reason --- sopel_modules/SpiceBot/Database.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sopel_modules/SpiceBot/Database.py b/sopel_modules/SpiceBot/Database.py index cf27c2d..03d4192 100644 --- a/sopel_modules/SpiceBot/Database.py +++ b/sopel_modules/SpiceBot/Database.py @@ -513,8 +513,8 @@ class BotDatabase(): path = os.path.expanduser(path) if not os.path.isabs(path): path = os.path.normpath(os.path.join(config_dir, path)) - self.filename = path - self.url = 'sqlite:///%s' % path + SopelDB.filename = path + SopelDB.url = 'sqlite:///%s' % path # Otherwise, handle all other database engines else: if db_type == 'mysql':