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 = []