From f643bff608e8c6a7fb1885dc868c10a6a200447a Mon Sep 17 00:00:00 2001 From: David Date: Tue, 26 Nov 2024 13:44:12 +0100 Subject: [PATCH] fix: apps init; apps might be an empty folder still --- bench/bench.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/bench.py b/bench/bench.py index dd2afc982..1b2ca261e 100644 --- a/bench/bench.py +++ b/bench/bench.py @@ -283,7 +283,7 @@ def initialize_apps(self): ] self.apps.remove("frappe") self.apps.insert(0, "frappe") - except FileNotFoundError: + except (FileNotFoundError, ValueError): self.apps = [] def __getitem__(self, key):