mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Create repo/icons without failure
Fixes fdroid lint CI.
This commit is contained in:
parent
1b765d11e7
commit
5723a1dafe
1 changed files with 1 additions and 1 deletions
|
|
@ -522,7 +522,7 @@ def load_localized_config(name, repodir):
|
||||||
if key == "icon":
|
if key == "icon":
|
||||||
icons_dir = os.path.join(repodir, 'icons')
|
icons_dir = os.path.join(repodir, 'icons')
|
||||||
if not os.path.exists(icons_dir):
|
if not os.path.exists(icons_dir):
|
||||||
os.mkdir(icons_dir)
|
os.makedirs(icons_dir, exist_ok=True)
|
||||||
shutil.copy(os.path.join("config", value), icons_dir)
|
shutil.copy(os.path.join("config", value), icons_dir)
|
||||||
ret[afname][key][locale] = file_entry(
|
ret[afname][key][locale] = file_entry(
|
||||||
os.path.join(icons_dir, value)
|
os.path.join(icons_dir, value)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue