added cast to int when fetching env. var. that enables data service
This commit is contained in:
parent
bf0d64063a
commit
9bc6252a4b
1 changed files with 1 additions and 1 deletions
|
|
@ -573,7 +573,7 @@ def make_app(
|
|||
|
||||
data_registry = DataRegistry()
|
||||
data_service = None
|
||||
data_service_enabled = os.environ.get('DATA_SERVICE_ENABLED', 0)
|
||||
data_service_enabled = int(os.environ.get('DATA_SERVICE_ENABLED', 0))
|
||||
if data_service_enabled: data_service = DataService.create()
|
||||
|
||||
return Application(
|
||||
|
|
|
|||
Loading…
Reference in a new issue