Skip to content

Commit

Permalink
Fix for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Oct 3, 2023
1 parent ac3f5d5 commit 5f9b2fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reportportal_client/aio/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def __init__(
:param loop: Event Loop which will be used to execute the Task
:param name: the name of the task
"""
if sys.version_info < (3, 7):
if sys.version_info < (3, 8):
super().__init__(coro, loop=loop)
else:
super().__init__(coro, loop=loop, name=name)
Expand Down Expand Up @@ -136,7 +136,7 @@ def __init__(
:param loop: Event Loop which will be used to execute the Task
:param name: the name of the task
"""
if sys.version_info < (3, 7):
if sys.version_info < (3, 8):
super().__init__(coro, loop=loop)
else:
super().__init__(coro, loop=loop, name=name)
Expand Down

0 comments on commit 5f9b2fc

Please sign in to comment.