mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
pebble_artifacts: fix download path
This commit is contained in:
parent
ebc6f86a6b
commit
38597e3aa2
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ def fetch(workspace: str, http_01_port: int = DEFAULT_HTTP_01_PORT) -> Tuple[str
|
|||
def _fetch_asset(asset: str, suffix: str, assets_path: str) -> str:
|
||||
asset_path = os.path.join(assets_path, '{0}_{1}_{2}'.format(asset, PEBBLE_VERSION, suffix))
|
||||
if not os.path.exists(asset_path):
|
||||
asset_url = ('https://github.com/letsencrypt/pebble/releases/download/{0}/{1}_{2}'
|
||||
asset_url = ('https://github.com/letsencrypt/pebble/releases/download/{0}/{1}-{2}'
|
||||
.format(PEBBLE_VERSION, asset, suffix))
|
||||
response = requests.get(asset_url, timeout=30)
|
||||
response.raise_for_status()
|
||||
|
|
|
|||
Loading…
Reference in a new issue