add BASH to README.md

master
Sebastian Serfling 2025-03-24 10:09:05 +01:00
parent 9f52cae834
commit c87e01acff
1 changed files with 1 additions and 7 deletions

View File

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