diff --git a/server.py b/server.py index 996400d..e0d64fc 100755 --- a/server.py +++ b/server.py @@ -17,9 +17,13 @@ import struct import subprocess import copy +import sys from typing import Any, Dict, List, Tuple, Iterable +sys.path.append(os.path.dirname(__file__)) # for finding our files +import util + logging.basicConfig(filename='server.log',level=logging.DEBUG) # big-endian diff --git a/server_wrapper.py b/server_wrapper.py index 0d19653..ce078c5 100755 --- a/server_wrapper.py +++ b/server_wrapper.py @@ -5,7 +5,6 @@ import urllib.parse import numpy as np # type:ignore import opuslib # type:ignore -import util import time import struct @@ -17,9 +16,10 @@ import SharedArray # pip install SharedArray -sys.path.append(os.path.dirname(__file__)) # for finding server +sys.path.append(os.path.dirname(__file__)) # for finding our files import server import shm +import util from typing import Any, Dict, List, Tuple