From 00798610c4da77b32d04c78824f2d49af8e3a16e Mon Sep 17 00:00:00 2001 From: Dave Eargle Date: Mon, 22 Mar 2021 23:31:20 -0600 Subject: [PATCH] fixed another bad config section name reference --- CHANGELOG.md | 2 ++ psiturk/amt_services_wrapper.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d24d73afb..3613cba57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/psiturk/amt_services_wrapper.py b/psiturk/amt_services_wrapper.py index 455fe50a0..fa3e31ddd 100644 --- a/psiturk/amt_services_wrapper.py +++ b/psiturk/amt_services_wrapper.py @@ -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]