From 8e599de16f1a9f18c1f3855db1950b424024f998 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Wed, 16 Jun 2021 13:58:48 +1000 Subject: [PATCH] fwn: attempt to fix fasjson integration Signed-off-by: Ryan Lerch --- roles/notifs/backend/files/fasjson-port/fmn_fasshim.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)