Skip to content

Commit

Permalink
make minify_html optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Oct 31, 2023
1 parent aa08864 commit 6f6fd63
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion papyri/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@
from quart import send_from_directory, Response, redirect
from quart_trio import QuartTrio
from rich.logging import RichHandler
import minify_html

try:
import minify_html
except ModuleNotFoundError:
minify_html = None

from . import config as default_config
from . import take2
Expand Down

0 comments on commit 6f6fd63

Please sign in to comment.