From c87e01acfff2f9b297310b9a0fbbaa2f17229bf5 Mon Sep 17 00:00:00 2001 From: Sebastian Serfling Date: Mon, 24 Mar 2025 10:09:05 +0100 Subject: [PATCH] add BASH to README.md --- mysql_timestamp_check.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/mysql_timestamp_check.py b/mysql_timestamp_check.py index b843610..da7fcb9 100644 --- a/mysql_timestamp_check.py +++ b/mysql_timestamp_check.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- import mysql.connector import datetime import smtplib @@ -11,16 +12,9 @@ from dotenv import load_dotenv def get_tables_from_db(connection): - """ - Holt die Liste der zu überprüfenden Tabellen, die 'RAW.' im Namen enthalten - - Returns: - list: Liste der Tabellennamen - """ try: cursor = connection.cursor() - # Holen aller Tabellen in der Kunden-Datenbank cursor.execute("SHOW TABLES FROM Kunden") tables = []