mirror of
https://github.com/vladmandic/automatic
synced 2026-08-30 00:50:59 +02:00
9587972831
NetworkOnDisk.fullname stripped only "/" from the post-lora_dir slice, leaving a leading "\" on Windows. Every prompt typing the file's natural dot-form name missed both registered aliases. On Linux, dot-form lookup already missed when the file lived in any subfolder because only the subfolder-prefixed form was registered. - network.py: lstrip both separators and normalize backslashes to forward slashes so fullname has one canonical shape per OS. - lora_load.py: register a bare-basename-with-dots alias so typing <lora:my.lora:1> resolves regardless of subfolder placement. setdefault preserves explicit primary registrations on cross-subfolder basename collisions. Existing prompts using the legacy dots-to-underscores form continue to resolve via entry.name unchanged.