Change Create Windows Task to main.py

main
Sebastian Serfling 2023-08-10 14:52:16 +02:00
parent 194c88b3e4
commit 82993a565a
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ def database(query,name,user):
auth_plugin='mysql_native_password',
)
mydb.connect()
print("SQL Server Connect")
cursor = mydb.cursor()
if "SELECT" in query:
if user: