mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
Merge branch 'fix_mkdir' into 'master'
Create repo/icons without failure See merge request fdroid/fdroidserver!1355
This commit is contained in:
commit
52e798575b
1 changed files with 1 additions and 1 deletions
|
|
@ -522,7 +522,7 @@ def load_localized_config(name, repodir):
|
|||
if key == "icon":
|
||||
icons_dir = os.path.join(repodir, 'icons')
|
||||
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)
|
||||
ret[afname][key][locale] = file_entry(
|
||||
os.path.join(icons_dir, value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue