fix: readme
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from jinja2 import Environment, FileSystemLoader
|
from jinja2 import Environment, FileSystemLoader
|
||||||
import photodown
|
import markdown
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from path import Path
|
from path import Path
|
||||||
@ -50,7 +50,7 @@ class Page():
|
|||||||
text = f.read()
|
text = f.read()
|
||||||
if len(text) == 0:
|
if len(text) == 0:
|
||||||
return None
|
return None
|
||||||
html = photodown.markdown(text)
|
html = markdown.markdown(text)
|
||||||
return html
|
return html
|
||||||
|
|
||||||
def _gen_exif(self):
|
def _gen_exif(self):
|
||||||
|
Reference in New Issue
Block a user