Trying hard to figure out why the DCOS servers think the protocol builder is enabled.
This commit is contained in:
parent
7869fa596e
commit
0025931a2e
|
@ -216,8 +216,10 @@ class StudyService(object):
|
|||
"""Assures that the studies we have locally for the given user are
|
||||
in sync with the studies available in protocol builder. """
|
||||
|
||||
if not ProtocolBuilderService.is_enabled():
|
||||
return
|
||||
if ProtocolBuilderService.is_enabled():
|
||||
|
||||
app.logger.info("The Protocol Builder is enabled. app.config['PB_ENABLED'] = " +
|
||||
str(app.config['PB_ENABLED']))
|
||||
|
||||
# Get studies matching this user from Protocol Builder
|
||||
pb_studies: List[ProtocolBuilderStudy] = ProtocolBuilderService.get_studies(user.uid)
|
||||
|
|
Loading…
Reference in New Issue