Skip to content

Commit

Permalink
Don't raise an exception if variable is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
francbartoli committed Jun 17, 2018
1 parent 65ab0d7 commit 4da1018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/settings.py
Expand Up @@ -763,7 +763,7 @@
% os.path.abspath(os.path.join(PROJECT_ROOT, os.pardir)),
# Set to name of database in DATABASES dictionary to enable
# 'datastore',
'DATASTORE': os.environ.get('DEFAULT_BACKEND_DATASTORE',''),
'DATASTORE': os.getenv('DEFAULT_BACKEND_DATASTORE',''),
'PG_GEOGIG': False,
# 'CACHE': ".cache" # local cache file to for HTTP requests
'TIMEOUT': 10 # number of seconds to allow for HTTP requests
Expand Down

0 comments on commit 4da1018

Please sign in to comment.