Skip to content

Commit

Permalink
asyncio.InvalidStateError not asyncio.exceptions.InvalidStateError in…
Browse files Browse the repository at this point in the history
… Python 3.6
  • Loading branch information
robagar committed May 16, 2021
1 parent 7ffd4ea commit a066e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tello_asyncio/tello.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def datagram_received(self, data, addr):

except IndexError:
raise Tello.Error('NOT WAITING FOR RESPONSE')
except asyncio.exceptions.InvalidStateError:
except asyncio.InvalidStateError:
pass

def error_received(self, error):
Expand Down

0 comments on commit a066e7d

Please sign in to comment.