run_gui.py 文件源码

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

项目:ClassifyHub 作者: Top-Ranger 项目源码 文件源码
def check_user_and_secret():
    github_secret = github.GithubSecret()

    if not github_secret.secret_available:
        QMessageBox.warning(None, 'No authentification possible',
                            'Authentificated requests are not possible - this will limit you to only a few GitHub requests per hour. '
                            'Please ensure that the user file ({}) and the secret file ({}) exist in your setup. '
                            'The file names must match exactly, including the file extension, which is not visible on all systems.'.format(
                                configserver.get('user_file'), configserver.get('secret_file')))


##
# \brief Class for communication between UI and algorithm.
#
# This class is responsible for the communication between the algorithm and the UI (written in QML).
# All classes decleared as Qt slots are callable from QML. Only one instance of the class should be used.
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号