Skip to content

Commit

Permalink
#3 1.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
docktermj committed May 31, 2021
1 parent bebe03b commit 47f5abd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions G2ConfigTables.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit 47f5abd

Please sign in to comment.