Skip to content

Commit

Permalink
Merge pull request #165 from Alireza-Sampour/main
Browse files Browse the repository at this point in the history
Do not print 'Nothing found!' in bug bounty mode
  • Loading branch information
piatrashkakanstantinass authored Oct 3, 2021
2 parents 6dcf986 + 2feeefa commit 5b8ff47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pywhat/printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def pretty_print(self, text: dict, text_input):

self.console.print(to_out.strip(), table)

else:
elif not self.bug_bounty_mode:
self.console.print((to_out + "\nNothing found!").lstrip())

def print_json(self, text: dict):
Expand Down Expand Up @@ -173,7 +173,7 @@ def print_raw(self, text: dict, text_input) -> str:
)
output_str += "\n\n"

if output_str == "":
if output_str == "" and not self.bug_bounty_mode:
self.console.print("Nothing found!")

if output_str.strip():
Expand Down

0 comments on commit 5b8ff47

Please sign in to comment.