local db file adaptation
This commit is contained in:
parent
ee53d7fd9d
commit
b5eb394978
@ -7,11 +7,11 @@ import sys
|
||||
|
||||
config_path = None
|
||||
|
||||
def initPool(instancePath):
|
||||
def initPool(instancePath, connection_filename="connection_data_devel.json"):
|
||||
try:
|
||||
global config_path
|
||||
if(config_path == None):
|
||||
config_path = os.path.join(instancePath,'../../../secure/connection_data_devel.json');
|
||||
config_path = os.path.join(instancePath,f'../../../../secure/{connection_filename}');
|
||||
|
||||
print (config_path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user