Skip to content

Commit

Permalink
avoid confusion w/types from stdlib
Browse files Browse the repository at this point in the history
  • Loading branch information
avaldebe committed Dec 8, 2022
1 parent e12af68 commit 687f48c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/pms/core/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@

from pms import SensorNotReady, SensorWarning, logger
from pms.core import Sensor, Supported

from .types import ObsData
from pms.core.types import ObsData

"""translation table for raw.hexdump(n)"""
HEXDUMP_TABLE = bytes.maketrans(
Expand Down
3 changes: 1 addition & 2 deletions src/pms/core/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
WrongMessageFormat,
logger,
)

from .types import Cmd, Commands, Message, ObsData
from pms.core.types import Cmd, Commands, Message, ObsData


class Sensor(Enum):
Expand Down

0 comments on commit 687f48c

Please sign in to comment.