mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 22:20:58 -05:00
patch for no reason
This commit is contained in:
parent
ccc153e059
commit
00205677e9
@ -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':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user