Skip to content

Commit

Permalink
Correctly checked if an argument was there.
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahGale committed Jan 18, 2024
1 parent c837aa1 commit c4f8463
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/change_to_ascii.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def define_args(args):


def strip_characters(args):
if "whitespace" in args:
if args.whitespace:
replacer = " "
elif "delete" in args:
elif args.delete:
replacer = ""
# default to delete
else:
Expand Down

0 comments on commit c4f8463

Please sign in to comment.