Skip to content

Commit

Permalink
Issue #87
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Berry committed Jan 6, 2017
1 parent 449f39e commit 9cf92bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@

__version__ = 0.1

ALLOWED_HOSTS = [os.getenv('REGISTRY_ALLOWED_HOSTS', '*')]
DEBUG = strtobool(os.getenv('REGISTRY_DEBUG', 'True'))
ROOT_URLCONF = 'registry'
DATABASES = {'default': {}} # required regardless of actual usage
Expand Down Expand Up @@ -1340,7 +1341,7 @@ def start_response(status, headers, exc_info=None):
app_iter = mp(environ, start_response)
except:
pass

return app_iter


Expand Down Expand Up @@ -1466,7 +1467,7 @@ def check_bbox(yml_config):
return 1

bbox_string = wms['bbox']

coords = bbox_string.split(',')

if len(coords) != 4:
Expand Down

0 comments on commit 9cf92bd

Please sign in to comment.