update to python 3.12

This commit is contained in:
2025-06-09 19:12:31 -05:00
parent 988fd2906c
commit 2ee59c6153
3 changed files with 12 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
import sys
from flask import Flask, request, jsonify
import smtplib
import base64
@@ -5,6 +6,10 @@ import gzip
import logging
import os
# Python-Version prüfen
if sys.version_info < (3, 12):
raise RuntimeError("Python 3.12 oder höher erforderlich")
app = Flask(__name__)
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)