mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-04 13:49:57 -05:00
Fixing local imports.
This commit is contained in:
parent
fb4575dd92
commit
9cb6594ca5
6 changed files with 33 additions and 23 deletions
1
main.py
1
main.py
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue