Fix for Joomla > 3.7
This commit is contained in:
parent
ce91894dc7
commit
5f407b9f68
@ -92,7 +92,7 @@ def download_joomla_version(joomla_version):
|
|||||||
dst_file = Path(dst_path)
|
dst_file = Path(dst_path)
|
||||||
if not dst_file.is_file():
|
if not dst_file.is_file():
|
||||||
if StrictVersion(joomla_version) > StrictVersion('3.7.1'):
|
if StrictVersion(joomla_version) > StrictVersion('3.7.1'):
|
||||||
version_string2 = ".".join(version_string.rsplit('-', 1))
|
version_string2 = ".".join(version_string.rsplit('-', 2))
|
||||||
|
|
||||||
url = "https://downloads.joomla.org/cms/" + \
|
url = "https://downloads.joomla.org/cms/" + \
|
||||||
version_path + "/" + version_string + \
|
version_path + "/" + version_string + \
|
||||||
|
Loading…
Reference in New Issue
Block a user