From f0c7de39dc36ecfdab7b6a27a5b398e47e8f20ca Mon Sep 17 00:00:00 2001 From: Corentin Flr <10946971+cogk@users.noreply.github.com> Date: Mon, 29 Apr 2024 13:41:00 +0200 Subject: [PATCH] chore(new_site): Avoid iterating None --- frappe/installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/installer.py b/frappe/installer.py index 4c5475a5a1..9cec6a471c 100644 --- a/frappe/installer.py +++ b/frappe/installer.py @@ -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: