Check that the correct frontmatter is installed.
This commit is contained in:
parent
1c39c8a017
commit
2a75b000a6
|
@ -13,6 +13,8 @@ import frontmatter
|
||||||
import marko
|
import marko
|
||||||
import marko.md_renderer
|
import marko.md_renderer
|
||||||
|
|
||||||
|
assert hasattr(frontmatter, 'loads'), 'Incorrect frontmatter package installed. Use: pip install python-frontmatter'
|
||||||
|
|
||||||
logger = getLogger(__name__)
|
logger = getLogger(__name__)
|
||||||
|
|
||||||
StatisticKey = str
|
StatisticKey = str
|
||||||
|
|
Loading…
Reference in New Issue
Block a user