From 79e178cf40e5207692b3529a63e4fef8b1cc86b9 Mon Sep 17 00:00:00 2001 From: Rebekah Rudd Date: Wed, 4 Dec 2024 20:59:38 -0500 Subject: [PATCH] testing what the unicode characters are --- gatorgrade/input/command_line_generator.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/gatorgrade/input/command_line_generator.py b/gatorgrade/input/command_line_generator.py index 6d57470f..3e085b07 100644 --- a/gatorgrade/input/command_line_generator.py +++ b/gatorgrade/input/command_line_generator.py @@ -43,14 +43,16 @@ def generate_checks( # Always add name of check, which should be in data removed_emojis = "" - + print_statement = "" # removed_emojis = str(check_data.check.get("check")).remove('emojis') string_check = str(check_data.check.get("check")) - # for i in string_check: - # if ord(i) == "/u2728": - # removed_emojis += string_check.replace(i, "") - removed_emojis += string_check - + for i in string_check: + # if ord(i) == "/u2728": + print_statement += "this is the ord(i) =" + ord(i) + # if ord(i) == "/u0064" + # removed_emojis += string_check.replace(i, "") + removed_emojis += string_check + print_statement + gg_args.append(removed_emojis) # Add any additional options options = check_data.check.get("options")