debase 0.1.9__py3-none-any.whl → 0.1.16__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2025,9 +2025,9 @@ TEXT FROM MANUSCRIPT:
2025
2025
  filtered = []
2026
2026
  for loc in locations:
2027
2027
  # Check caption and clues for campaign indicators
2028
- caption = loc.get('caption', '').lower()
2029
- campaign_clues = loc.get('campaign_clues', '').lower()
2030
- lineage_hint = loc.get('lineage_hint', '').lower()
2028
+ caption = (loc.get('caption') or '').lower()
2029
+ campaign_clues = (loc.get('campaign_clues') or '').lower()
2030
+ lineage_hint = (loc.get('lineage_hint') or '').lower()
2031
2031
  combined_text = caption + ' ' + campaign_clues + ' ' + lineage_hint
2032
2032
 
2033
2033
  # Check if location is relevant to this campaign