diff --git a/sherlock_project/notify.py b/sherlock_project/notify.py index f6c785d6..31f4dd5e 100644 --- a/sherlock_project/notify.py +++ b/sherlock_project/notify.py @@ -37,7 +37,6 @@ class QueryNotify: self.result = result - # return def start(self, message=None): """Notify Start. @@ -56,7 +55,6 @@ class QueryNotify: Nothing. """ - # return def update(self, result): """Notify Update. @@ -75,7 +73,6 @@ class QueryNotify: self.result = result - # return def finish(self, message=None): """Notify Finish. @@ -94,7 +91,6 @@ class QueryNotify: Nothing. """ - # return def __str__(self): """Convert Object To String. @@ -137,7 +133,6 @@ class QueryNotifyPrint(QueryNotify): self.print_all = print_all self.browse = browse - return def start(self, message): """Notify Start. @@ -163,7 +158,6 @@ class QueryNotifyPrint(QueryNotify): # An empty line between first line and the result(more clear output) print('\r') - return def countResults(self): """This function counts the number of results. Every time the function is called, @@ -238,7 +232,7 @@ class QueryNotifyPrint(QueryNotify): Fore.WHITE + "]" + Fore.GREEN + f" {self.result.site_name}:" + Fore.YELLOW + f" {msg}") - + elif result.status == QueryStatus.WAF: if self.print_all: print(Style.BRIGHT + Fore.WHITE + "[" + @@ -254,7 +248,6 @@ class QueryNotifyPrint(QueryNotify): f"Unknown Query Status '{result.status}' for site '{self.result.site_name}'" ) - return def finish(self, message="The processing has been finished."): """Notify Start.