Skip to content

Commit

Permalink
fix: strip curated column before checking len
Browse files Browse the repository at this point in the history
  • Loading branch information
nsantacruz committed Jun 20, 2024
1 parent c5f5571 commit cbf1fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion experiments/topic_source_curation/curator.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def get_topics_to_curate():
with open(TOPICS_TO_CURATE_CSV_PATH, "r") as fin:
cin = csv.DictReader(fin)
for row in cin:
if len(row['curated']) > 0:
if len(row['curated'].strip()) > 0:
continue
slug = row['slug'].strip()
try:
Expand Down

0 comments on commit cbf1fe0

Please sign in to comment.