Skip to content

Commit 1d91a6e

Browse files
authored
Merge pull request #477 from NYUCCL/fix-on-heroku-compat
Fix backwards compatibility for translating ON_HEROKU=1 to ON_CLOUD=1
2 parents da12a87 + 88c43c3 commit 1d91a6e

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 3.0.5
8+
### Fixed
9+
- Fixed backwards compatibility for translating ON_HEROKU=1 to ON_CLOUD=1
10+
711
## 3.0.4
812
### Fixed
913
- fix shell's error during hit_create that prevented ad url from showing.

psiturk/psiturk_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def load_config(self):
4747

4848
# Backwards compatibility
4949
if 'ON_HEROKU' in os.environ:
50-
os.environ['ON_CLOUD'] = 1
50+
os.environ['ON_CLOUD'] = '1'
5151

5252
# read in default cloud config
5353
if 'ON_CLOUD' in os.environ:

psiturk/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version_number = '3.0.4'
1+
version_number = '3.0.5'

0 commit comments

Comments
 (0)