Commit fced207
committed
fix(lora): handle missing files for already loaded networks
Add check to mark networks as unavailable when they are already loaded
in memory but their source files no longer exist on disk. This prevents
errors when attempting to use networks whose files have been deleted
after initial loading.
The change adds an additional condition in load_networks() to verify
file existence for previously loaded networks and properly adds them
to the unavailable_networks list for cleanup.1 parent d8c584a commit fced207
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
308 | 311 | | |
309 | 312 | | |
310 | 313 | | |
| |||
0 commit comments