Skip to content

Commit

Permalink
use sys.exit(0) instead, because PyInstaller's executables actually p…
Browse files Browse the repository at this point in the history
…erform this
  • Loading branch information
seb26 committed Mar 23, 2019
1 parent ccc5543 commit d701f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mhl-compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __init__(self, listObj, filepath):
if not 'hash' in listObj['hashlist']:
# No hash entries listed
print('There were no files found listed in this MHL file:\n {}\nAlternatively, there was a formatting issue in the file.'.format(self.filepath))
quit()
sys.exit(0)

hashTree = listObj['hashlist']['hash']
if isinstance( hashTree, list ):
Expand Down

0 comments on commit d701f62

Please sign in to comment.