bootstrapper.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:c4d-plugin-installer 作者: NiklasRosenstein 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号