From b9c06d865f650ffb3ee5300c0760b3d96de91fa0 Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Sun, 12 May 2024 18:16:21 +0200 Subject: [PATCH] work --- deploy.py | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.py b/deploy.py index 9fcefbb..d3dd4dc 100644 --- a/deploy.py +++ b/deploy.py @@ -15,7 +15,7 @@ chdir('html') for f in [i for i in listdir() if i.endswith('.html')]: # 1. Minify the index.html file using minify-html - minified_content = minify_html.minify(open(f, 'r').read(), minify_css=True, minify_doctype=False) + minified_content = minify_html.minify(open(f, 'r').read(), minify_css=True, do_not_minify_doctype=True) # 2. Upload the file to an FTP server diff --git a/requirements.txt b/requirements.txt index 6bd459d..de724f3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ requests -minify-html \ No newline at end of file +minify-html==0.15.0 \ No newline at end of file