Skip to content

Commit

Permalink
Fix import paths for submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
SamHaggans committed Jan 28, 2025
1 parent 198f5c7 commit 0c2a9c7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Empty file added __init__.py
Empty file.
Empty file added src/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion src/connection_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from queue import Queue
from socket import socket

from packet_types import BROADCAST_DEST, Packet, PacketType
from .packet_types import BROADCAST_DEST, Packet, PacketType


class ConnectionHandler:
Expand Down
4 changes: 2 additions & 2 deletions src/socket_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import time
from queue import Queue

from connection_handler import ConnectionHandler
from packet_types import Packet, PacketType
from .connection_handler import ConnectionHandler
from .packet_types import Packet, PacketType


class SocketClient:
Expand Down
4 changes: 2 additions & 2 deletions src/socket_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import time
from queue import Queue

from connection_handler import ConnectionHandler
from packet_types import BROADCAST_DEST, Packet, PacketAddress, PacketType
from .connection_handler import ConnectionHandler
from .packet_types import BROADCAST_DEST, Packet, PacketAddress, PacketType


class SocketServer:
Expand Down
2 changes: 1 addition & 1 deletion test/packet_test.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import numpy as np
from cv2.typing import MatLike

from packet_types import Packet, PacketAddress, PacketType
from legolas_common.src.packet_types import Packet, PacketAddress, PacketType


def test_pack_control() -> None:
Expand Down

0 comments on commit 0c2a9c7

Please sign in to comment.