Skip to content

Commit

Permalink
Merge pull request #477 from NYUCCL/fix-on-heroku-compat
Browse files Browse the repository at this point in the history
Fix backwards compatibility for translating ON_HEROKU=1 to ON_CLOUD=1
  • Loading branch information
deargle committed Mar 18, 2021
2 parents da12a87 + 88c43c3 commit 1d91a6e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 3.0.5
### Fixed
- Fixed backwards compatibility for translating ON_HEROKU=1 to ON_CLOUD=1

## 3.0.4
### Fixed
- fix shell's error during hit_create that prevented ad url from showing.
Expand Down
2 changes: 1 addition & 1 deletion psiturk/psiturk_config.py
Expand Up @@ -47,7 +47,7 @@ def load_config(self):

# Backwards compatibility
if 'ON_HEROKU' in os.environ:
os.environ['ON_CLOUD'] = 1
os.environ['ON_CLOUD'] = '1'

# read in default cloud config
if 'ON_CLOUD' in os.environ:
Expand Down
2 changes: 1 addition & 1 deletion psiturk/version.py
@@ -1 +1 @@
version_number = '3.0.4'
version_number = '3.0.5'

0 comments on commit 1d91a6e

Please sign in to comment.