Fix silly typo causing corp imports to fail

This commit is contained in:
2012-01-26 21:04:47 +00:00
parent e4a113411c
commit 85c36b6829

View File

@@ -136,7 +136,7 @@ def import_corp_members(key_id, character_id):
return return
auth_params = {'keyid': acc.api_user_id, 'vcode': acc.api_key, 'characterID': character_id } auth_params = {'keyid': acc.api_user_id, 'vcode': acc.api_key, 'characterID': character_id }
if acc.has_access(25): if acc.has_access(25):
auth.params['extended'] = 1 auth_params['extended'] = 1
else: else:
auth_params = {'userID': acc.api_user_id, 'apiKey': acc.api_key, 'characterID': character_id } auth_params = {'userID': acc.api_user_id, 'apiKey': acc.api_key, 'characterID': character_id }
char_doc = CachedDocument.objects.api_query('/corp/MemberTracking.xml.aspx', char_doc = CachedDocument.objects.api_query('/corp/MemberTracking.xml.aspx',