server: add PYTHONPATH for sdk

This commit is contained in:
Koushik Dutta
2021-12-07 18:51:54 -08:00
parent 41a075c7fa
commit d0791d4557
4 changed files with 6 additions and 7 deletions

View File

@@ -22,9 +22,6 @@ from asyncio.streams import StreamReader, StreamWriter
import os
from os import sys
from sys import stderr, stdout
more = os.path.join(os.getcwd(), 'node_modules/@scrypted/sdk')
sys.path.insert(0, more)
class SystemDeviceState(TypedDict):
lastEventTime: int