Skip to content

Commit d81d353

Browse files
authored
Merge pull request #480 from NYUCCL/fix-bad-config-section-name-reference
fixed another bad config section name reference
2 parents e728133 + 0079861 commit d81d353

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
This was previously throwing an exception in versions 3.0.0 – 3.0.5
1212
### Fixed
1313
- fix bonus_message config.get section reference (3219016)
14+
- fix another reference to a config section name that doesn't exist, apparently
15+
the unit tests are horrible
1416

1517
## 3.0.5
1618
### Fixed

psiturk/amt_services_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ def count_workers(self, codeversion='latest', mode='live', status='completed'):
183183
the experiment.
184184
"""
185185
if codeversion == 'latest':
186-
codeversion = [self.config.get(
187-
'task', 'experiment_code_version')]
186+
codeversion = self.config.get(
187+
'Task Parameters', 'experiment_code_version')
188188

189189
if status == 'completed':
190190
status = [3, 4, 5, 7]

0 commit comments

Comments
 (0)