From f0108d89fcbbe121481ec22aeda48f3a6616aea6 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Fri, 4 Jan 2019 18:05:17 +0000 Subject: [PATCH] try again --- openlp/core/state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/state.py b/openlp/core/state.py index 38c30a6d0..913ff6554 100644 --- a/openlp/core/state.py +++ b/openlp/core/state.py @@ -168,6 +168,6 @@ class State(LogMixin): """ plugins = [] 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))) return plugins