diff --git a/roles/notifs/backend/files/fasjson-port/fmn_fasshim.py b/roles/notifs/backend/files/fasjson-port/fmn_fasshim.py index 9ef9c1217a..ed3dd87d43 100644 --- a/roles/notifs/backend/files/fasjson-port/fmn_fasshim.py +++ b/roles/notifs/backend/files/fasjson-port/fmn_fasshim.py @@ -104,7 +104,7 @@ def _add_to_cache(users): def update_nick(username): global client - if config.get('fasjson'): + if config.app_conf.get('fasjson'): try: log.info("Downloading FASJSON cache for %s*" % username) response = client.get_user(username=username) @@ -141,7 +141,7 @@ def update_nick(username): def update_email(email): global client - if config.get('fasjson'): + if config.app_conf.get('fasjson'): try: log.info("Downloading FASJSON cache for %s*" % email) response = client.search(email=email)