display return code on pyinstaller if crash
This commit is contained in:
parent
81fc5f2d0d
commit
df91711f88
@ -34,7 +34,7 @@ def downloadVanilla():
|
||||
getattr(QtGui.QMessageBox, msgbox[0])(None, msgbox[1], msgbox[2])
|
||||
|
||||
print returncode
|
||||
if returncode != 0: sys.exit(returncode)
|
||||
return returncode
|
||||
|
||||
class downloadThread(QtCore.QThread):
|
||||
progressValue = QtCore.pyqtSignal(int)
|
||||
|
Loading…
Reference in New Issue
Block a user