Change ssh-tunnel

This commit is contained in:
2023-08-11 11:55:26 +02:00
parent 901917f524
commit 4fbd32b3aa
8 changed files with 101 additions and 101 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ def get_hdd_info():
# Informationen über die CPU
def set_system_info(ipadress):
print("set_system_info")
print(get_cpu_sql()[0])
print(get_cpu_sql())
query = f"UPDATE `Kunden-Server` SET RAM={get_ram_info()}, Prozessor={get_cpu_sql()[0]}, CPU='{get_cpu_info()}' WHERE `IP-Adresse`='{ipadress}'"
print(query)
mysql_connect.update_cpu(query,"Stines-GmbH")