Skip to content

Commit 01ebee1

Browse files
committed
just remove walruses
1 parent 35b2f5d commit 01ebee1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/DataValidation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,10 +270,10 @@ def checkStartingItemsForBadSyntax():
270270
@staticmethod
271271
def checkPlacedItemsAndCategoriesForBadSyntax():
272272
for location in DataValidation.location_table:
273-
if not (place_item := location.get("place_item", False)):
274-
continue
273+
place_item = location.get("place_item", False)
274+
place_item_category = location.get("place_item_category", False)
275275

276-
if not (place_item_category := location.get("place_item_category", False)):
276+
if not place_item and not place_item_category:
277277
continue
278278

279279
if place_item and type(place_item) is not list:

0 commit comments

Comments
 (0)