mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
[fonts] Fix download of fonts from google repository by encoding [ and ]
This commit is contained in:
parent
cc04caf627
commit
8377e5273d
@ -1585,7 +1585,7 @@ for p in path.rglob("*METADATA.pb"):
|
||||
|
||||
match = re.match(r'\s*filename: "(.*)"', line)
|
||||
if match:
|
||||
filenames.append(f'{github_path}/{match.group(1)}')
|
||||
filenames.append(f'{github_path}/{match.group(1).replace("[", "%5B").replace("]", "%5D")}')
|
||||
|
||||
license_path = None
|
||||
if not (p.parent / f'{license}.txt').exists():
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user