adoptopenjdk 15

This commit is contained in:
z4yx 2020-09-30 08:06:42 +08:00
parent c655adc4f6
commit 102764c7af

View File

@ -17,7 +17,7 @@ import requests
DOWNLOAD_TIMEOUT = int(os.getenv('DOWNLOAD_TIMEOUT', '1800'))
BASE_PATH = os.getenv('TUNASYNC_WORKING_DIR')
BASE_URL = os.getenv('TUNASYNC_UPSTREAM_URL', "http://adoptopenjdk.jfrog.io/adoptopenjdk")
FEATURE_VERSIONS = range(8, 15)
FEATURE_VERSIONS = range(8, 16)
def download_file(url: str, dst_file: Path)->bool:
try: