fwn: attempt to fix fasjson integration
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
parent
309cb94383
commit
8e599de16f
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue