notebookvb

This commit is contained in:
Vladimir Buzalka
2026-05-16 08:05:35 +02:00
parent 5607649162
commit 829d05b9ea
+2 -1
View File
@@ -12,7 +12,8 @@ def get_medicus_connection():
"LEKAR": r"localhost:M:\medicus\data\medicus.fdb",
"SESTRA": r"192.168.1.10:m:\medicus\data\medicus.fdb",
"LENOVO": r"192.168.1.10:m:\medicus\data\medicus.fdb",
"NTBVBHP470G10": r"localhost:c:\medicus 3\data\medicus.fdb",
"NTBVBHP470G10": r"reporter:c:\medicus\medicus.fdb",
"Z230": r"reporter:c:\medicus\medicus.fdb",
}
dsn = dsn_map.get(computer_name, r"localhost:c:\medicus 3\data\medicus.fdb")
print(f"[medicus_db] Připojuji se jako {computer_name}{dsn}")