diff --git a/btdht/dht.pyx b/btdht/dht.pyx index 9c641a0..cc27602 100644 --- a/btdht/dht.pyx +++ b/btdht/dht.pyx @@ -40,7 +40,7 @@ except ImportError: import datrie -import utils +from . import utils from .utils import ID, nbit, nflip, nset, PollableQueue from .exceptions import BucketFull, BucketNotFull, NoTokenError, FailToStop, TransactionIdUnknown from .exceptions import NotFound diff --git a/btdht/krcp.pyx b/btdht/krcp.pyx index af567ad..d97d126 100644 --- a/btdht/krcp.pyx +++ b/btdht/krcp.pyx @@ -19,7 +19,7 @@ from cython.parallel import prange import six -import utils +from . import utils from .exceptions import MissingT, DecodeError cdef int str_to_int(char* data, int len) nogil: