Change ssh-tunnel

This commit is contained in:
2023-08-11 12:44:34 +02:00
parent 09489b41c5
commit 70a32201b7
7 changed files with 125 additions and 124 deletions
+3 -2
View File
@@ -24,8 +24,9 @@ def get_cpu_info():
def get_cpu_sql():
freeze_support()
query = f"SELECT `Prozessor-Anzahl` FROM `CPU-Liste` WHERE `CPU-Name`='{get_cpu_info()}'"
return mysql_connect.get_cpu(query, "Stines-GmbH", get_cpu_info())
cpu = get_cpu_info()
query = f"SELECT `Prozessor-Anzahl` FROM `CPU-Liste` WHERE `CPU-Name`='{cpu}'"
return mysql_connect.get_cpu(query, "Stines-GmbH", cpu)
def get_ram_info():
freeze_support()