mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-17 11:49:29 +00:00
Added some more debugging information to the import process
This commit is contained in:
@@ -24,10 +24,7 @@ def import_eve_account(api_key, user_id, force_cache=False):
|
||||
"""
|
||||
|
||||
auth_params = {'userid': user_id, 'apikey': api_key}
|
||||
try:
|
||||
account_doc = CachedDocument.objects.api_query('/account/Characters.xml.aspx', params=auth_params, no_cache=force_cache)
|
||||
except:
|
||||
return
|
||||
account_doc = CachedDocument.objects.api_query('/account/Characters.xml.aspx', params=auth_params, no_cache=force_cache)
|
||||
|
||||
if account_doc and account_doc.body:
|
||||
dom = minidom.parseString(account_doc.body.encode('utf-8'))
|
||||
|
||||
Reference in New Issue
Block a user