Skip to content

Commit

Permalink
Fixes #84 Blank line in target file crashes coercer
Browse files Browse the repository at this point in the history
  • Loading branch information
p0dalirius committed Oct 14, 2024
1 parent d7624be commit fad5ae5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions coercer/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ def main():
sys.exit(0)

# Sort uniq on targets list
targets = [t.strip() for t in targets if len(t.strip()) != 0]
targets = sorted(list(set(targets)))

final_targets = []
Expand Down

0 comments on commit fad5ae5

Please sign in to comment.