Initial rework of corp/alliance model update

Corrected exception when determining id type
This commit is contained in:
Adarnof
2016-02-12 17:30:52 +00:00
parent fd2988dc46
commit 4d0aa92809
2 changed files with 219 additions and 211 deletions

View File

@@ -220,7 +220,9 @@ class EveApiManager():
return True
except evelink.api.APIError as error:
logger.exception("APIError occured while checking if id %s is an alliance. Possibly not alliance?" % alliance_id)
except KeyError:
logger.debug("Alliance with id %s not found in active alliance list." % alliance_id)
return False
logger.debug("Unable to verify id %s is an an alliance." % alliance_id)
return False