Missed an attribute

This commit is contained in:
Philip Ridout 2016-09-05 19:02:47 +01:00
parent 223b198dc8
commit 9a049929fc
2 changed files with 1 additions and 1 deletions

View File

@ -37,6 +37,7 @@ class BibleImport(OpenLPMixin, RegistryProperties, BibleDB):
super().__init__(*args, **kwargs)
self.filename = kwargs['filename'] if 'filename' in kwargs else None
self.wizard = None
self.stop_import_flag = False
Registry().register_function('openlp_stop_wizard', self.stop_import)
@staticmethod

View File

@ -140,7 +140,6 @@ class BibleDB(Manager):
raise KeyError('Missing keyword argument "path".')
if 'name' not in kwargs and 'file' not in kwargs:
raise KeyError('Missing keyword argument "name" or "file".')
self.stop_import_flag = False
if 'name' in kwargs:
self.name = kwargs['name']
if not isinstance(self.name, str):