Fix shutdown error.

None type can be in skill list
pull/992/head^2
Åke Forslund 2017-06-19 10:04:58 +02:00 committed by Steve Penrod
parent 39d0451143
commit f0a7a71e01
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ class MockSkillsLoader(object):
def load_skills(self): def load_skills(self):
self.skills = load_skills(self.emitter, self.skills_root) self.skills = load_skills(self.emitter, self.skills_root)
self.skills = [s for s in self.skills if s]
return self.emitter.emitter # kick out the underlying emitter return self.emitter.emitter # kick out the underlying emitter
def unload_skills(self): def unload_skills(self):