try again

This commit is contained in:
Tim Bentley 2019-01-04 18:05:17 +00:00
parent 4d6659e889
commit f0108d89fc

View File

@ -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