Fix Davinci Resolve installer

This commit is contained in:
2025-01-26 11:29:27 -05:00
parent e242ba7c07
commit 3debbe1eb7
2 changed files with 18 additions and 10 deletions

View File

@@ -33,9 +33,9 @@ def getURLId(url):
# getURLVersion() returns the url version number.
def getURLVersion(url):
if 'Beta' in url['downloadTitle']:
beta = re.search('Beta \d+', url['downloadTitle'])
beta = re.search('Beta \\d+', url['downloadTitle'])
if beta:
beta = re.search('\d+', beta.group()).group()
beta = re.search('\\d+', beta.group()).group()
else:
beta = '99'
return '{}.{}.{}.{}'.format(url['major'], url['minor'], url['releaseNum'], beta)