Skip to content

Commit

Permalink
fix: ModuleNotFoundError: No module named 'utils'
Browse files Browse the repository at this point in the history
  • Loading branch information
milahu committed Oct 19, 2024
1 parent 747388a commit 68bb5f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion btdht/dht.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion btdht/krcp.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 68bb5f3

Please sign in to comment.