forked from openlp/openlp
Missed an attribute
This commit is contained in:
parent
223b198dc8
commit
9a049929fc
@ -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
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user