Fixed reference to renamed variable "ALLIANCE_BLUE_STANDING" -> "BLUE_STANDING"

This commit is contained in:
Adarnof 2015-09-18 03:51:02 +00:00
parent 55a56374d2
commit db0a4c235a

View File

@ -235,7 +235,7 @@ def run_corp_update():
corp_standings = EveApiManager.get_corp_standings() corp_standings = EveApiManager.get_corp_standings()
if corp_standings: if corp_standings:
for standing_id in EveApiManager.get_corp_standings()['alliance']: for standing_id in EveApiManager.get_corp_standings()['alliance']:
if int(corp_standings['alliance'][standing_id]['standing']) >= settings.ALLIANCE_BLUE_STANDING: if int(corp_standings['alliance'][standing_id]['standing']) >= settings.BLUE_STANDING:
if EveApiManager.check_if_id_is_character(standing_id): if EveApiManager.check_if_id_is_character(standing_id):
pass pass
elif EveApiManager.check_if_id_is_corp(standing_id): elif EveApiManager.check_if_id_is_corp(standing_id):