Skip to content

Commit

Permalink
Skip non dir entries while looping through results folder (#147)
Browse files Browse the repository at this point in the history
Minor fix
  • Loading branch information
cjx10 authored Mar 8, 2024
1 parent 98b0908 commit 7d0dabd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helper/result_string_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ def main():

# Iterates through all output-*/
for output_dir in os.listdir(result_dir):
if not os.path.isdir(os.path.join(result_dir, output_dir)):
continue

# Iterates through all subdirectories.
for path, sub_dir, files in os.walk(
Expand Down

0 comments on commit 7d0dabd

Please sign in to comment.