add BASH to README.md
parent
9f52cae834
commit
c87e01acff
|
|
@ -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 = []
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue