Fix live preview of imports in editor

This commit is contained in:
Chase Sterling 2016-08-09 20:14:29 -04:00
parent 55e1ed3a2b
commit 55e2ceccaa
2 changed files with 8 additions and 10 deletions

View file

@ -189,7 +189,7 @@ class WikiPage(HookMixin):
@property
def imports(self):
"""Names"""
meta = self._get_meta(self.data)
meta = self._get_meta(self.data) or {}
return meta.get('import', [])
@staticmethod