moonraker: convert utils.py to a package

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2023-02-09 13:55:55 -05:00
parent f48c18bfda
commit 277aecd305
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ if TYPE_CHECKING:
from types import ModuleType
from asyncio.trsock import TransportSocket
MOONRAKER_PATH = str(pathlib.Path(__file__).parent.parent.resolve())
MOONRAKER_PATH = str(pathlib.Path(__file__).parent.parent.parent.resolve())
SYS_MOD_PATHS = glob.glob("/usr/lib/python3*/dist-packages")
SYS_MOD_PATHS += glob.glob("/usr/lib/python3*/site-packages")