Skip to content

Commit

Permalink
Merge pull request #480 from NYUCCL/fix-bad-config-section-name-refer…
Browse files Browse the repository at this point in the history
…ence

fixed another bad config section name reference
  • Loading branch information
deargle authored Mar 23, 2021
2 parents e728133 + 0079861 commit d81d353
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
This was previously throwing an exception in versions 3.0.0 – 3.0.5
### Fixed
- fix bonus_message config.get section reference (3219016)
- fix another reference to a config section name that doesn't exist, apparently
the unit tests are horrible

## 3.0.5
### Fixed
Expand Down
4 changes: 2 additions & 2 deletions psiturk/amt_services_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ def count_workers(self, codeversion='latest', mode='live', status='completed'):
the experiment.
"""
if codeversion == 'latest':
codeversion = [self.config.get(
'task', 'experiment_code_version')]
codeversion = self.config.get(
'Task Parameters', 'experiment_code_version')

if status == 'completed':
status = [3, 4, 5, 7]
Expand Down

0 comments on commit d81d353

Please sign in to comment.