fixed connection data path
This commit is contained in:
parent
ae6ca1bb05
commit
7988a04562
@ -7,11 +7,11 @@ import sys
|
|||||||
|
|
||||||
config_path = None
|
config_path = None
|
||||||
|
|
||||||
def initPool(instancePath, connection_filename="connection_data_test.json"):
|
def initPool(instancePath, connection_filename="connection_data_prod.json"):
|
||||||
try:
|
try:
|
||||||
global config_path
|
global config_path
|
||||||
if(config_path == None):
|
if(config_path == None):
|
||||||
config_path = os.path.join(instancePath,f'../../../secure/{connection_filename}') #connection_data_test.json');
|
config_path = os.path.join(instancePath,f'../../../secure/{connection_filename}') #connection_data_prod.json');
|
||||||
|
|
||||||
print (config_path)
|
print (config_path)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user