From 47f5abdbc031a080f424eacdf45714936c6b6f6a Mon Sep 17 00:00:00 2001 From: "michael@dockter.com" Date: Mon, 31 May 2021 17:45:00 -0400 Subject: [PATCH] #3 1.10.0 --- CHANGELOG.md | 6 ++++++ G2ConfigTables.py | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c780d97..acb4f1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), [markdownlint](https://dlaa.me/markdownlint/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.5.0] - 2019-07-09 + +### Added to 1.5.0 + +- Shipped with SenzingAPI 1.10.0 + ## [1.4.0] - 2019-06-04 ### Added to 1.4.0 diff --git a/G2ConfigTables.py b/G2ConfigTables.py index 2ee8679..8029f26 100644 --- a/G2ConfigTables.py +++ b/G2ConfigTables.py @@ -20,9 +20,9 @@ class G2ConfigTables: #---------------------------------------- - def __init__(self, configFile,g2iniPath,configuredDatasourcesOnly=False): + def __init__(self, configFile,g2iniParams,configuredDatasourcesOnly=False): self.configFileName = configFile - self.g2iniPath = g2iniPath + self.g2iniParams = g2iniParams self.success = True self.configuredDatasourcesOnly = configuredDatasourcesOnly @@ -76,7 +76,7 @@ def addDataSource(self, dataSource): ''' adds a data source if does not exist ''' returnCode = 0 #--1=inserted, 2=updated g2_config_module = G2Config() - g2_config_module.init('pyG2AddDataSource', self.g2iniPath, False) + g2_config_module.initV2('pyG2AddDataSource', self.g2iniParams, False) with open(self.configFileName) as data_file: cfgDataRoot = data_file.read() #.decode('utf8')