From 03c87894d0e15f7318f1e9283fe0a013fc5db010 Mon Sep 17 00:00:00 2001 From: Brett Date: Thu, 5 Dec 2024 14:10:00 +1000 Subject: [PATCH] Fix imports --- setup.py | 2 +- teslemetry_stream/stream.py | 2 +- teslemetry_stream/vehicle.py | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 3c3a7a4..083138c 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="teslemetry_stream", - version="0.5.0", + version="0.5.1", author="Brett Adams", author_email="hello@teslemetry.com", description="Teslemetry Streaming API library for Python", diff --git a/teslemetry_stream/stream.py b/teslemetry_stream/stream.py index 158b05e..f07a78a 100644 --- a/teslemetry_stream/stream.py +++ b/teslemetry_stream/stream.py @@ -5,7 +5,7 @@ import logging from datetime import datetime, timezone from .vehicle import TeslemetryStreamVehicle -from .exceptions import TeslemetryStreamEnded +from .exception import TeslemetryStreamEnded DELAY = 1 LOGGER = logging.getLogger(__package__) diff --git a/teslemetry_stream/vehicle.py b/teslemetry_stream/vehicle.py index 3de9e85..2c0db6c 100644 --- a/teslemetry_stream/vehicle.py +++ b/teslemetry_stream/vehicle.py @@ -2,7 +2,6 @@ import asyncio import logging from .const import TelemetryFields -from encodings import undefined if TYPE_CHECKING: from .stream import TeslemetryStream