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.
评论列表
文章目录