notebookVB

This commit is contained in:
2025-09-28 14:55:01 +02:00
parent b88d16eb10
commit aa52a70bcc

View File

@@ -29,7 +29,13 @@ def get_medicus_connection():
password="masterkey",
charset="win1250",
)
elif:
elif socket.gethostname().strip()=="SESTRA":
MEDICUS_CFG = dict(
dsn=r"192.168.1.10:m:\medicus\data\medicus.fdb",
user="SYSDBA",
password="masterkey",
charset="win1250",
)
try:
return fdb.connect(**MEDICUS_CFG)