z230
This commit is contained in:
@@ -22,7 +22,7 @@ def get_medicus_connection():
|
||||
fdb.Connection object on success
|
||||
None on failure
|
||||
"""
|
||||
if socket.gethostname().strip()=="NTBVBHP470G10":
|
||||
if socket.gethostname().strip() in ("NTBVBHP470G10","Z230"):
|
||||
MEDICUS_CFG = dict(
|
||||
dsn=r"192.168.1.4:z:\medicus 3\data\medicus.fdb",
|
||||
user="SYSDBA",
|
||||
@@ -50,7 +50,7 @@ def get_mysql_connection():
|
||||
"""
|
||||
Return a PyMySQL connection or None if the connection fails.
|
||||
"""
|
||||
if socket.gethostname().strip() == "NTBVBHP470G10":
|
||||
if socket.gethostname().strip() in ("NTBVBHP470G10","Z230"):
|
||||
MYSQL_CFG = dict(
|
||||
host="192.168.1.76",
|
||||
port=3307,
|
||||
|
||||
Reference in New Issue
Block a user