forked from openlp/openlp
try again
This commit is contained in:
parent
4d6659e889
commit
f0108d89fc
@ -168,6 +168,6 @@ class State(LogMixin):
|
|||||||
"""
|
"""
|
||||||
plugins = []
|
plugins = []
|
||||||
for mod in self.modules:
|
for mod in self.modules:
|
||||||
if self.modules[mod].is_plugin:
|
if mod and self.modules[mod].is_plugin:
|
||||||
plugins.append(Registry().get('{mod}_plugin'.format(mod=mod)))
|
plugins.append(Registry().get('{mod}_plugin'.format(mod=mod)))
|
||||||
return plugins
|
return plugins
|
||||||
|
Loading…
Reference in New Issue
Block a user