Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
blitzmann committed Jul 9, 2017
1 parent 854d7cb commit be84cf1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions scripts/jsonToSql.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,11 @@ def convertTypes(typesData):
# can do it here - just add them to initial set
eveTypes = set()
for row in data["evetypes"]:
# 1306 - group Ship Modifiers, for items like tactical t3 ship modes
# (3638, 3634, 3636, 3640) - Civilian weapons
# (41549, 41548, 41551, 41550) - Micro Bombs (Fighters)
if (row["published"] or row['groupID'] == 1306
or row['typeID'] in (3638, 3634, 3636, 3640)
or row['typeID'] in (41549, 41548, 41551,41550)):
if (row["published"]
or row['groupID'] == 1306 # group Ship Modifiers, for items like tactical t3 ship modes
or row['typeID'] in (3638, 3634, 3636, 3640) # Civilian weapons
or row['typeID'] in (41549, 41548, 41551,41550) # Micro Bombs (Fighters)
):
eveTypes.add(row["typeID"])

# ignore checker
Expand Down

0 comments on commit be84cf1

Please sign in to comment.