Skip to content

Commit

Permalink
fix: should not init arts
Browse files Browse the repository at this point in the history
  • Loading branch information
hahaschool committed Jun 28, 2023
1 parent b443460 commit 58e098b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lisc/collect/words.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ def collect_words(terms, inclusions=None, exclusions=None, labels=None,
ids = page_soup.find_all('id')
ids_str = ','.join([el.text for el in ids])

arts = []

# Batch ids_str into groups of 100 to avoid URL length limit
for i in range(0, len(ids_str), 100):
batch = ids_str[i:i+100]
Expand Down

0 comments on commit 58e098b

Please sign in to comment.