From be84cf1db75b4b9415a6c9f4674f5529cb193d32 Mon Sep 17 00:00:00 2001 From: blitzmann Date: Sun, 9 Jul 2017 18:59:07 -0400 Subject: [PATCH] formatting --- scripts/jsonToSql.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scripts/jsonToSql.py b/scripts/jsonToSql.py index 8cdc0999d..fa971f050 100755 --- a/scripts/jsonToSql.py +++ b/scripts/jsonToSql.py @@ -190,12 +190,11 @@ def main(db, json_path): # 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