def fatal(message):
if QMessageBox:
try:
app = QApplication(sys.argv)
QMessageBox.critical(None, 'Error', str(message))
except BaseException as exc:
print('fatal:', message)
print('during handling of the above error, following error occured')
print('fatal:', exc)
else:
print('fatal:', message)
sys.exit(1)
bootstrapper.py 文件源码
python
阅读 22
收藏 0
点赞 0
评论 0
评论列表
文章目录