mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Use the correct logger instance
This commit is contained in:
@@ -22,7 +22,7 @@ def import_eve_character(character_id, api_key=None, user_id=None, callback=None
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
log = import_eve_character.getLogger()
|
log = import_eve_character.get_logger()
|
||||||
try:
|
try:
|
||||||
pchar = import_eve_character_func(character_id, api_key, user_id, log)
|
pchar = import_eve_character_func(character_id, api_key, user_id, log)
|
||||||
except APIAccessException, exc:
|
except APIAccessException, exc:
|
||||||
@@ -43,7 +43,7 @@ def import_eve_characters(character_list, api_key=None, user_id=None, callback=N
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
log = import_eve_character.getLogger()
|
log = import_eve_characters.get_logger()
|
||||||
try:
|
try:
|
||||||
results = [import_eve_character_func(char, api_key, user_id, log) for char in character_list]
|
results = [import_eve_character_func(char, api_key, user_id, log) for char in character_list]
|
||||||
except APIAccessException, exc:
|
except APIAccessException, exc:
|
||||||
|
|||||||
Reference in New Issue
Block a user