@ -205,14 +205,12 @@ elif not os.path.exists(os.path.join(default_dir, "config.yml")):
print(f"Configuration File ('config.yml') has been downloaded from GitHub (Branch: '{git_branch}') and saved as '{config_path}'. Please update this file with your API keys and other required settings.")
sys.exit(1)
else:
print(f"Config Error: Unable to download the configuration file from GitHub (URL: {github_url}'). Please save it as '{config_path}' before running Kometa again.")
sys.exit(1)
raiserequests.RequestException
exceptrequests.RequestExceptionase:
print(f"Config Error: Unable to download the configuration file from GitHub (URL: {github_url}'). Please save it as '{config_path}' before running Kometa again.")
response=self._requests("https://api.github.com/user",err_msg="The GitHub token specified could not be validated. Please verify that the token is correct.")
logger.info(f"GitHub token validated successfully. Authenticated as {response['login']}")