mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-14 06:50:15 +02:00
Fix broken query
This commit is contained in:
parent
1bf8b6079d
commit
45f7b7d962
@ -22,7 +22,7 @@ def timer_view(request):
|
|||||||
logger.debug("timer_view called by user %s" % request.user)
|
logger.debug("timer_view called by user %s" % request.user)
|
||||||
char = request.user.profile.main_character
|
char = request.user.profile.main_character
|
||||||
if char:
|
if char:
|
||||||
corp = EveCorporationInfo.get_corporation_info_by_id(char.corporation_id)
|
corp = EveCorporationInfo.objects.get(corporation_id=char.corporation_id)
|
||||||
else:
|
else:
|
||||||
corp = None
|
corp = None
|
||||||
if corp:
|
if corp:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user