diff --git a/getsploit.py b/getsploit.py index 9fcb6c4..b48269d 100755 --- a/getsploit.py +++ b/getsploit.py @@ -798,10 +798,10 @@ def main(): outputTable.add_rows(tableRows) if pythonVersion < 3.0: # Just pass non-ascii - print(outputTable.draw().decode('ascii', 'ignore')) + print(outputTable.draw().encode('ascii', 'ignore')) else: # Any better solution here? print(outputTable.draw().encode('ascii', 'ignore').decode()) if __name__ == '__main__': - main() \ No newline at end of file + main()