sestra
This commit is contained in:
@@ -43,7 +43,7 @@ def get_medicus_connection():
|
||||
return fdb.connect(dsn=r"localhost:m:\medicus\data\medicus.fdb", user="SYSDBA", password="masterkey", charset="win1250")
|
||||
elif computer_name in ("SESTRA", "POHODA"):
|
||||
print("Computer name is SESTRA or POHODA")
|
||||
return fdb.connect(dsn=r"192.168.1.40:m:\medicus\data\medicus.fdb", user="SYSDBA", password="masterkey", charset="win1250")
|
||||
return fdb.connect(dsn=r"192.168.1.10:m:\medicus\data\medicus.fdb", user="SYSDBA", password="masterkey", charset="win1250")
|
||||
else:
|
||||
raise RuntimeError(f"❌ Unknown computer name: {computer_name}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user