patch for no reason

This commit is contained in:
deathbybandaid 2019-06-05 17:59:16 -04:00
parent ccc153e059
commit 00205677e9

View File

@ -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':