2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-04 22:55:25 +00:00

fix: apps init; apps might be an empty folder still

This commit is contained in:
David 2024-11-26 13:44:12 +01:00
parent 14a3303c44
commit 0bb5ffeb69
No known key found for this signature in database
GPG Key ID: AB15A6AF1101390D

View File

@ -283,7 +283,7 @@ class BenchApps(MutableSequence):
]
self.apps.remove("frappe")
self.apps.insert(0, "frappe")
except FileNotFoundError:
except (FileNotFoundError, ValueError):
self.apps = []
def __getitem__(self, key):