From 26bec33815f34cbe06f584bebf3ad4d1992f475d Mon Sep 17 00:00:00 2001 From: Greg Albrecht Date: Fri, 10 Jun 2022 09:43:01 -0700 Subject: [PATCH] fixed python 3.6 call --- pytak/client_functions.py | 4 +--- setup.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pytak/client_functions.py b/pytak/client_functions.py index c386010..a753fbb 100644 --- a/pytak/client_functions.py +++ b/pytak/client_functions.py @@ -43,9 +43,7 @@ if sys.version_info[:2] >= (3, 7): from asyncio import get_running_loop else: - from asyncio import ( # pylint: disable=no-name-in-module - _get_running_loop as get_running_loop, - ) + from asyncio import get_event_loop as get_running_loop __author__ = "Greg Albrecht W2GMD " __copyright__ = "Copyright 2022 Greg Albrecht" diff --git a/setup.py b/setup.py index 3f6d91a..d0d674f 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ import setuptools __title__ = "pytak" -__version__ = "5.0.2" +__version__ = "5.0.3" __author__ = "Greg Albrecht W2GMD " __copyright__ = "Copyright 2022 Greg Albrecht" __license__ = "Apache License, Version 2.0"