Skip to content

Commit

Permalink
Text coloring functions combined. Quotes changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksa Zatezalo authored and Aleksa Zatezalo committed Jul 30, 2024
1 parent 79587df commit b9e665a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gato/attack/attack.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __setup_user_info(self):
)
Output.info(
"The GitHub Classic PAT has the following scopes: "
f'{Output.text_color(", ".join(self.user_perms["scopes"]), 'yellow')}'
f'{Output.text_color(", ".join(self.user_perms["scopes"]), "yellow")}'
)

return True
Expand Down
2 changes: 1 addition & 1 deletion gato/enumerate/enumerate.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __setup_user_info(self):
if len(self.user_perms["scopes"]):
Output.info(
"The GitHub Classic PAT has the following scopes: "
f'{Output.text_color(", ".join(self.user_perms["scopes"]), 'yellow')}'
f'{Output.text_color(", ".join(self.user_perms["scopes"]), "yellow")}'
)
else:
Output.warn("The token has no scopes!")
Expand Down
2 changes: 1 addition & 1 deletion gato/search/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __setup_user_info(self):
if len(self.user_perms["scopes"]) > 0:
Output.info(
f"The GitHub Classic PAT has the following scopes: "
f'{Output.text_color(", ".join(self.user_perms["scopes"]), 'yellow')}'
f'{Output.text_color(", ".join(self.user_perms["scopes"]), "yellow")}'
)
else:
Output.warn("The token has no scopes!")
Expand Down

0 comments on commit b9e665a

Please sign in to comment.