Skip to content

Commit

Permalink
Update prepdocs.py
Browse files Browse the repository at this point in the history
- Removed out-of-reach condition within read_files function
  • Loading branch information
PfisterAn authored Aug 31, 2023
1 parent 9126146 commit 36c14b6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/prepdocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,6 @@ def read_files(pathPattern, use_vectors):
if args.remove:
remove_blobs(filename)
remove_from_index(filename)
elif args.removeall:
remove_blobs(None)
remove_from_index(None)
else:
if os.path.isdir(filename):
read_files(filename + "/*", use_vectors)
Expand Down

0 comments on commit 36c14b6

Please sign in to comment.