From 2167e55012310de4b8693f93b5564781ebe3b677 Mon Sep 17 00:00:00 2001 From: moritz Date: Thu, 27 Jun 2024 12:24:32 +0200 Subject: [PATCH] fehlerbehebung --- Pi-py-Code/protocoll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pi-py-Code/protocoll.py b/Pi-py-Code/protocoll.py index a528631..78076de 100644 --- a/Pi-py-Code/protocoll.py +++ b/Pi-py-Code/protocoll.py @@ -32,7 +32,7 @@ def insert_data(temp, sensor_id, config): cnx.commit() cursor.close() cnx.close() - print(f"Daten erfolgreich eingefügt in: {config["host"]}") + print(f'Daten erfolgreich eingefügt in: {config["host"]}') except mysql.connector.Error as err: if err.errno == errorcode.ER_ACCESS_DENIED_ERROR: print("Etwas ist mit deinem Benutzernamen oder Passwort falsch.")