mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-22 12:48:25 +00:00
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…
x
Reference in New Issue
Block a user