Skip to content

Commit 6148450

Browse files
committed
Set use_live only for live environment
1 parent 03ad452 commit 6148450

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/zocalo/service/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ def __init__(self):
5151
# load configuration and initialize logging
5252
self._zc = zocalo.configuration.from_file()
5353
envs = self._zc.activate()
54-
self.use_live_infrastructure = ("live" in envs) or (
55-
"default" in envs
56-
) # deprecated
54+
self.use_live_infrastructure = "live" in envs # deprecated
5755
self.setup_logging()
5856

5957
if (

0 commit comments

Comments
 (0)