Skip to content

Fix No module named 'web_ui'#1194

Closed
ItsIXam wants to merge 1 commit intoAudionut:masterfrom
ItsIXam:master
Closed

Fix No module named 'web_ui'#1194
ItsIXam wants to merge 1 commit intoAudionut:masterfrom
ItsIXam:master

Conversation

@ItsIXam
Copy link
Copy Markdown

@ItsIXam ItsIXam commented Jan 29, 2026

Import of webui was below sys.path so switched them back. This should fix error #1187.

Summary by CodeRabbit

  • Chores
    • Internal code organization improvements to enhance maintainability.

Note: This release contains no user-facing changes or new features.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jan 29, 2026

📝 Walkthrough

Walkthrough

The import statement for web_ui.auth (aliased as auth_mod) in web_ui/server.py has been repositioned to follow the sys.path insertion. This reordering affects only the structure of the import section without modifying runtime behavior or functionality.

Changes

Cohort / File(s) Summary
Import Reordering
web_ui/server.py
Moved web_ui.auth import to follow sys.path insertion and reorganized surrounding newlines. No functional changes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 An import finds its rightful place,
No logic changed, just cleaner space,
The paths align, the imports flow,
A tidy arrangement, don't you know!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly matches the PR objective—fixing the 'No module named web_ui' error by reordering imports so web_ui.auth is imported after sys.path insertion.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ItsIXam ItsIXam closed this Feb 9, 2026
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