2
0
mirror of https://github.com/frappe/frappe.git synced 2024-06-12 17:12:23 +00:00

chore(new_site): Avoid iterating None

This commit is contained in:
Corentin Flr 2024-04-29 13:41:00 +02:00 committed by GitHub
parent 05766680f7
commit f0c7de39dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,7 +99,7 @@ def _new_site(
mariadb_user_host_login_scope=mariadb_user_host_login_scope,
)
apps_to_install = ["frappe"] + (frappe.conf.get("install_apps") or []) + (list(install_apps) or [])
apps_to_install = ["frappe"] + (frappe.conf.get("install_apps") or []) + (list(install_apps or []))
for app in apps_to_install:
# NOTE: not using force here for 2 reasons: