Skip to content

Commit d91e090

Browse files
committed
Fix await for sync lingo close
1 parent 20c1807 commit d91e090

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name='MAVez'
7-
version='3.8.1'
7+
version='3.8.2'
88
description='An intuitive MAVLink library for ArduPilot via pymavlink'
99
authors=[
1010
{name='The Pennsylvania State University Unmanned Aerial Systems Club', email='psuuasofficial@gmail.com'}

src/MAVez/controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ async def receive_message(self, message_type: str, timeout: float = 5.0) -> Any:
245245
while time.time() - start_time < timeout:
246246
msg = sub.recv()
247247
if msg:
248-
await sub.close()
248+
sub.close()
249249
return msg.header
250250
await asyncio.sleep(0.1)
251251

0 commit comments

Comments
 (0)