forked from tpd94/CDRM-Project
refactor CDM checks to improve configuration loading, user prompts, and file handling, consolidate CDM download logic into a single function
This commit is contained in:
parent
fd2f38fe28
commit
1328805fa5
@ -38,7 +38,7 @@ def check_for_cdm(config_key, file_ext, download_url, cdm_dir, cdm_name):
|
||||
if not cdm_value:
|
||||
if prompt_yes_no(
|
||||
f"No default {cdm_name} CDM specified, would you like to download one "
|
||||
"from The CDM Project? (Y)es/(N)o: "
|
||||
"from The CDM Project? (Y)es / (N)o: "
|
||||
):
|
||||
response = requests.get(download_url, timeout=10)
|
||||
if response.status_code == 200:
|
||||
|
Loading…
x
Reference in New Issue
Block a user