Skip to content

Commit

Permalink
Fixes #63: Python 3.6: AttributeError: module 'asyncio' has no attrib…
Browse files Browse the repository at this point in the history
…ute 'exceptions'.
  • Loading branch information
ampledata committed Jan 22, 2024
1 parent 9661b71 commit f1e884d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
23 changes: 13 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
PyTAK 6.2.1
-----------
## PyTAK 6.2.4

- Fixes #63: Python 3.6: AttributeError: module 'asyncio' has no attribute 'exceptions'.

## PyTAK 6.2.1

- Add 'PEM pass phrase' prompt instructions. Fixes #54.

## PyTAK 6.2.0

PyTAK 6.2.0
-----------
- Fixes #12: Encrypted TLS Private Keys (Private Keys with Passphrases).
- Fixes #33: PyTAK Multicast read/write & write-only do not work on Windows.
- Fixes #40: Fix multicast binding on Windows.
Expand All @@ -15,8 +18,8 @@ PyTAK 6.2.0
- Fixes #53: Add generic CoT generation function.
- Various documentation fixes.

PyTAK 6.1.0
-----------
## PyTAK 6.1.0

- Fixes #43: Add broadcast UDP support.
- Fixes #46: Move documentation from Sphinx to Markdown.
- Fixed #47: Change default constants to match config type hints (e.g. str instead of int).
Expand All @@ -26,8 +29,8 @@ PyTAK 6.1.0
- Fixed vague Exceptions.
- Renamed `cs2url()` to `connectString2url()`.

PyTAK 6.0.0
-----------
## PyTAK 6.0.0

- Moved & expanded documentation at https://pytak.readthedocs.io/
- ``COT_URL`` now defaults to ``udp+wo://239.2.3.1:6969``, aka 'Mesh SA' in ATAK & WinTAK. This disables receiveing CoT by default. To enable receiving CoT, remove the ``+wo`` modifier.
* Fixes #31: 'protobuf support', "TAK Protocol, Version 1" is now the default output from PyTAK, *BUT* you must install the ``takproto`` python module seperately to ENABLE, otherwise reverts to CoT XML. PyTAK will automatically detect if the ``COT_URL`` is multicast or unicast, and use the appropriate protobuf format. See: https://github.com/snstac/takproto
Expand All @@ -41,8 +44,8 @@ PyTAK 6.0.0
- Added Read The Docs builder.
- Added PyTAK shield logo & screenshots.

PyTAK 5.6.1
-----------
## PyTAK 5.6.1

Exported `read_pref_package()` from client_functions.

PyTAK 5.6.0
Expand Down
2 changes: 1 addition & 1 deletion pytak/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
:source: <https://github.com/snstac/pytak>
"""

__version__ = "6.2.3"
__version__ = "6.2.4"


from .constants import ( # NOQA
Expand Down
2 changes: 1 addition & 1 deletion pytak/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ async def readcot(self):
if tak_v1 != -1:
cot = tak_v1 # .SerializeToString()
return cot
except asyncio.exceptions.IncompleteReadError:
except asyncio.IncompleteReadError:
return None

async def run(self, number_of_iterations=-1) -> None:
Expand Down

0 comments on commit f1e884d

Please sign in to comment.