diff --git a/InSpy.py b/InSpy.py index 2f6dda0..080d056 100755 --- a/InSpy.py +++ b/InSpy.py @@ -77,6 +77,9 @@ print "\nEmails crafted\n".format(len(emails.keys())) for name, email in emails.items(): print email + else: + print("No employees found!") + exit(0) #export results if args.html: @@ -88,4 +91,4 @@ if args.csv: output("csv", args.csv, args.company, domain, employees, emails) except (KeyboardInterrupt, SystemExit): - print "\nTerminated script.\n" \ No newline at end of file + print "\nTerminated script.\n"