From dcebd7966663d5af593964e5fad7132f79325f3c Mon Sep 17 00:00:00 2001 From: Bottersnike Date: Mon, 19 Jun 2023 02:40:11 +0100 Subject: [PATCH] Outdated python on build machine --- docs.py | 6 +++--- requirements.txt | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs.py b/docs.py index 0b0c4dd..51bf6de 100644 --- a/docs.py +++ b/docs.py @@ -1,5 +1,5 @@ from dataclasses import dataclass -from typing import Any +from typing import Any, Optional import datetime import re import os @@ -91,8 +91,8 @@ CONTENTS = { class Part: id: str name: str - description: str | None = None - page: str | None = None + description: Optional[str] = None + page: Optional[str] = None PARTS = { diff --git a/requirements.txt b/requirements.txt index 37a17c7..ffb03de 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ flask Frozen-Flask jinja_markdown +libsass