From c4f84634465a085baff691812e0198bb9b8b13c6 Mon Sep 17 00:00:00 2001 From: "Micah D. Gale" Date: Thu, 18 Jan 2024 07:43:23 -0600 Subject: [PATCH] Correctly checked if an argument was there. --- scripts/change_to_ascii.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/change_to_ascii.py b/scripts/change_to_ascii.py index 86d3a18a..1f8ae81b 100644 --- a/scripts/change_to_ascii.py +++ b/scripts/change_to_ascii.py @@ -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: