From b9e665a24e417df2156e5ffb4b9e9051d0fb3e91 Mon Sep 17 00:00:00 2001 From: Aleksa Zatezalo Date: Tue, 30 Jul 2024 14:45:24 -0400 Subject: [PATCH] Text coloring functions combined. Quotes changed --- gato/attack/attack.py | 2 +- gato/enumerate/enumerate.py | 2 +- gato/search/search.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gato/attack/attack.py b/gato/attack/attack.py index 0aa2685..fc34ac9 100644 --- a/gato/attack/attack.py +++ b/gato/attack/attack.py @@ -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 diff --git a/gato/enumerate/enumerate.py b/gato/enumerate/enumerate.py index 24c9c9f..76f237d 100644 --- a/gato/enumerate/enumerate.py +++ b/gato/enumerate/enumerate.py @@ -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!") diff --git a/gato/search/search.py b/gato/search/search.py index 9079c2a..9a8bca4 100644 --- a/gato/search/search.py +++ b/gato/search/search.py @@ -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!")