Skip to content

Fix save path dropdown empty on Windows#6

Open
dannyd40 wants to merge 1 commit intoromandev-codex:mainfrom
dannyd40:fix/windows-save-path-filter
Open

Fix save path dropdown empty on Windows#6
dannyd40 wants to merge 1 commit intoromandev-codex:mainfrom
dannyd40:fix/windows-save-path-filter

Conversation

@dannyd40
Copy link
Copy Markdown

Summary

  • The /models/ path filter used forward slashes, but Windows paths use backslashes (\models\)
  • This caused the save path dropdown to remain stuck on "Select folder..." on Windows
  • Fix: normalize backslashes to forward slashes before comparison (3 occurrences in __init__.py)

Test plan

  • On Windows, open the Downloader modal and verify the save path dropdown shows all model folders
  • On Linux/Mac, verify the dropdown still works as expected

🤖 Generated with Claude Code

The /models/ path filter used forward slashes, but Windows paths use
backslashes. Normalize backslashes before comparison so folder names
are correctly detected on both Windows and Unix.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant