mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -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)
|
path = os.path.expanduser(path)
|
||||||
if not os.path.isabs(path):
|
if not os.path.isabs(path):
|
||||||
path = os.path.normpath(os.path.join(config_dir, path))
|
path = os.path.normpath(os.path.join(config_dir, path))
|
||||||
self.filename = path
|
SopelDB.filename = path
|
||||||
self.url = 'sqlite:///%s' % path
|
SopelDB.url = 'sqlite:///%s' % path
|
||||||
# Otherwise, handle all other database engines
|
# Otherwise, handle all other database engines
|
||||||
else:
|
else:
|
||||||
if db_type == 'mysql':
|
if db_type == 'mysql':
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user