Fixing local imports.

This commit is contained in:
Roland 2025-12-02 16:07:32 -07:00
parent fb4575dd92
commit 9cb6594ca5
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
6 changed files with 33 additions and 23 deletions

View file

@ -372,6 +372,7 @@ async def perpetual_check_for_updates():
Updates shared_ctx with update info for the /api/status endpoint.
Only runs on native installs (not Docker).
"""
# Local import to avoid loading upgrade module at startup
from wrolpi.upgrade import check_for_update
# Don't check for updates in Docker environments