Skip to content

Commit

Permalink
fix: made the removed_emojis assignments global in command_line_gener…
Browse files Browse the repository at this point in the history
…ator.py
  • Loading branch information
rebekahrudd committed Dec 3, 2024
1 parent a256c2c commit 39f63b7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gatorgrade/input/command_line_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ def generate_checks(
gg_args.extend(["--description", str(description)])
# Always add name of check, which should be in data

removed_emojis = ""

# 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, "")
if ord(i) == "/u2728":
removed_emojis += string_check.replace(i, "")

gg_args.append(removed_emojis)
# Add any additional options
Expand Down

0 comments on commit 39f63b7

Please sign in to comment.