Skip to content

Commit

Permalink
Merge pull request #6 from armandoquintananieves/master
Browse files Browse the repository at this point in the history
Fix Bug on line 801
  • Loading branch information
vulnersCom authored Jan 28, 2018
2 parents ddc5f00 + 8773e6d commit 0b8a9e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions getsploit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
main()

0 comments on commit 0b8a9e9

Please sign in to comment.