From a067c77c4c8595fe280d1e21443f7f321cb9a045 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Mon, 4 Jul 2022 05:46:49 +0400 Subject: [PATCH] Forcefully publish AIR boosters --- db_update.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/db_update.py b/db_update.py index 9ea4272de..066f726e2 100644 --- a/db_update.py +++ b/db_update.py @@ -139,9 +139,10 @@ def update_db(): for row in data: if ( # Apparently people really want Civilian modules available - (row['typeName_en-us'].startswith('Civilian') and "Shuttle" not in row['typeName_en-us']) or - row['typeName_en-us'] == 'Capsule' or - row['groupID'] == 4033 # destructible effect beacons + (row['typeName_en-us'].startswith('Civilian') and "Shuttle" not in row['typeName_en-us']) + or row['typeName_en-us'] == 'Capsule' + or row['groupID'] == 4033 # destructible effect beacons + or re.match('AIR .+Booster.*', row['typeName_en-us']) ): row['published'] = True # Nearly useless and clutter search results too much