mirror of
https://github.com/natankeddem/bale.git
synced 2026-04-23 06:50:41 +00:00
fixed arbitrary target path recall
This commit is contained in:
@@ -535,6 +535,8 @@ class Automation(Tab):
|
||||
while target_path not in self.target_path.options and tries < 20:
|
||||
await asyncio.sleep(0.1)
|
||||
tries = tries + 1
|
||||
if target_path not in self.target_paths:
|
||||
self.target_paths.append(target_path)
|
||||
self.target_path.value = target_path
|
||||
self.parentchildren.value = self.fs["values"].get("parentchildren", None)
|
||||
self.parent.value = self.fs["values"].get("parent", None)
|
||||
|
||||
Reference in New Issue
Block a user