1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

general cleanup

This commit is contained in:
checktheroads
2020-03-22 22:09:03 -07:00
parent 5fc9adf1d4
commit 83eb75b4a7
4 changed files with 9 additions and 9 deletions

View File

@@ -49,17 +49,17 @@ async def get_markdown(config_path, default, params):
Returns:
{str} -- Formatted content
"""
log.debug(f"Getting Markdown content for '{params['title']}'")
log.trace(f"Getting Markdown content for '{params['title']}'")
if config_path.enable and config_path.file is not None:
md = await _get_file(config_path.file)
else:
md = default
log.debug(f"Unformatted Content for '{params['title']}':\n{md}")
log.trace(f"Unformatted Content for '{params['title']}':\n{md}")
md_fmt = await format_markdown(md, params)
log.debug(f"Formatted Content for '{params['title']}':\n{md_fmt}")
log.trace(f"Formatted Content for '{params['title']}':\n{md_fmt}")
return md_fmt