Change ssh-tunnel

This commit is contained in:
2023-08-11 12:01:43 +02:00
parent 7364963e15
commit 2f87885b12
10 changed files with 108 additions and 108 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_info())
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")