Merge branch 'fix-icons-in-fdroid-mirror' into 'master'

mirror: apparently the 'icons' dir does not always exist

See merge request fdroid/fdroidserver!1476
This commit is contained in:
Michael Pöhn 2024-05-05 17:14:49 +00:00
commit 79586fd9e3
1 changed files with 2 additions and 1 deletions

View File

@ -268,7 +268,8 @@ def main():
urls[icondir].append(url)
for icondir in icondirs:
_run_wget(os.path.join(basedir, section, icondir), urls[icondir])
if icondir in urls:
_run_wget(os.path.join(basedir, section, icondir), urls[icondir])
if __name__ == "__main__":