From 24db87afd0ca2ed5ccd10060b0792e56f2542f8e Mon Sep 17 00:00:00 2001 From: moanos Date: Wed, 13 Sep 2023 13:02:54 +0200 Subject: [PATCH] Add doctype --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index fddc94a..4d8bb7a 100644 --- a/main.py +++ b/main.py @@ -6,6 +6,7 @@ import requests def write_html(df, filename, css=None): books_as_html = df[["Titel ", "Autor*in", "Sprache", "Kategorie"]].to_html() with open(filename, "w", encoding="utf-8") as file: + file.writelines('\n') file.writelines('\n') file.writelines('\n') if css: