mirror of
https://github.com/frappe/bench.git
synced 2025-01-06 23:44:03 +00:00
fix: apps init; apps might be an empty folder still
This commit is contained in:
parent
14a3303c44
commit
0bb5ffeb69
@ -283,7 +283,7 @@ class BenchApps(MutableSequence):
|
|||||||
]
|
]
|
||||||
self.apps.remove("frappe")
|
self.apps.remove("frappe")
|
||||||
self.apps.insert(0, "frappe")
|
self.apps.insert(0, "frappe")
|
||||||
except FileNotFoundError:
|
except (FileNotFoundError, ValueError):
|
||||||
self.apps = []
|
self.apps = []
|
||||||
|
|
||||||
def __getitem__(self, key):
|
def __getitem__(self, key):
|
||||||
|
Loading…
Reference in New Issue
Block a user