@ -221,10 +221,10 @@ elif not os.path.exists(os.path.join(default_dir, "config.yml")):
print(f"A Configuration file (config.yml) has been downloaded from GitHub and saved as {config_path}. Please update this file with your API keys and other required settings.")
print(f"A Configuration file (config.yml) has been downloaded from GitHub and saved as {config_path}. Please update this file with your API keys and other required settings.")
sys.exit(1)
sys.exit(1)
else:
else:
print(f"Error: No Configuration file (config.yml) found locally, and the template file(config.yml.template) could not be downloaded from GitHub. Please visit the GitHub repository to manually download the config.yml.template file.")
print(f"Config Error: No Configuration file (config.yml) or Template file (config.yml.template) found in the config path, and the template file(config.yml.template) could not be downloaded from GitHub. Please visit the GitHub repository to manually download the config.yml.template file and place it in {template_path} prior to running Kometa again.")
sys.exit(1)
sys.exit(1)
exceptrequests.RequestExceptionase:
exceptrequests.RequestExceptionase:
print(f"Error: Failed to download the configuration template file (config.yml.template) from GitHub. Details: {e}")
print(f"Config Error: Failed to download the configuration template file (config.yml.template) from GitHub. Details: {e}")