mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-08-17 19:05:32 +00:00
Fix Davinci Resolve installer
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user