forked from openlp/openlp
We still need a db_url. Thanks interface tests!
This commit is contained in:
parent
c4bb673ac0
commit
4fd53706c6
@ -231,6 +231,8 @@ class Manager(object):
|
|||||||
if db_file_name:
|
if db_file_name:
|
||||||
log.debug('Manager: Creating new DB url')
|
log.debug('Manager: Creating new DB url')
|
||||||
self.db_url = init_url(plugin_name, db_file_name)
|
self.db_url = init_url(plugin_name, db_file_name)
|
||||||
|
else:
|
||||||
|
self.db_url = init_url(plugin_name)
|
||||||
if upgrade_mod:
|
if upgrade_mod:
|
||||||
try:
|
try:
|
||||||
db_ver, up_ver = upgrade_db(self.db_url, upgrade_mod)
|
db_ver, up_ver = upgrade_db(self.db_url, upgrade_mod)
|
||||||
|
Loading…
Reference in New Issue
Block a user