From 4fd53706c63ce7eb6d31cee81493748ffe5d84a9 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Fri, 8 Jan 2016 00:18:01 +0200 Subject: [PATCH] We still need a db_url. Thanks interface tests! --- openlp/core/lib/db.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openlp/core/lib/db.py b/openlp/core/lib/db.py index 6eb67b5df..d63dee23c 100644 --- a/openlp/core/lib/db.py +++ b/openlp/core/lib/db.py @@ -231,6 +231,8 @@ class Manager(object): if db_file_name: log.debug('Manager: Creating new DB url') self.db_url = init_url(plugin_name, db_file_name) + else: + self.db_url = init_url(plugin_name) if upgrade_mod: try: db_ver, up_ver = upgrade_db(self.db_url, upgrade_mod)