mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-04 06:06:19 +01:00
Fix broken query
This commit is contained in:
@@ -22,7 +22,7 @@ def timer_view(request):
|
||||
logger.debug("timer_view called by user %s" % request.user)
|
||||
char = request.user.profile.main_character
|
||||
if char:
|
||||
corp = EveCorporationInfo.get_corporation_info_by_id(char.corporation_id)
|
||||
corp = EveCorporationInfo.objects.get(corporation_id=char.corporation_id)
|
||||
else:
|
||||
corp = None
|
||||
if corp:
|
||||
|
||||
Reference in New Issue
Block a user