Browse Source

Thanks, ESI, for having a consistent API.

master
Ben Kurtovic 3 years ago
parent
commit
d9c709d9c2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      calefaction/eve/zkill.py

+ 1
- 1
calefaction/eve/zkill.py View File

@@ -53,7 +53,7 @@ class ZKillboard:

if "faction_id" in victim:
factions = esi().v1.universe.factions.get()
matches = [fac["faction_name"] for fac in factions
matches = [fac["name"] for fac in factions
if fac["faction_id"] == victim["faction_id"]]
victim["faction_name"] = matches[0] if matches else ""
else:


Loading…
Cancel
Save