diff options
author | Devaev Maxim <[email protected]> | 2020-10-13 13:50:01 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-10-13 13:50:01 +0300 |
commit | c6524fc7ac3a271a91fef994a9a9529940337596 (patch) | |
tree | 5cef560dfac73d4143df893e0a5be21e344222a8 /kvmd/inotify.py | |
parent | 51ac65d542e041c4f75f0428fe4e84a10ef1c356 (diff) |
typing fixes
Diffstat (limited to 'kvmd/inotify.py')
-rw-r--r-- | kvmd/inotify.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kvmd/inotify.py b/kvmd/inotify.py index 422f3a0a..53578aa3 100644 --- a/kvmd/inotify.py +++ b/kvmd/inotify.py @@ -25,7 +25,6 @@ import sys import os import asyncio -import asyncio.queues import ctypes import ctypes.util import struct @@ -230,7 +229,7 @@ class Inotify: self.__moved: Dict[int, str] = {} - self.__events_queue: asyncio.queues.Queue = asyncio.Queue() + self.__events_queue: "asyncio.Queue[InotifyEvent]" = asyncio.Queue() def watch(self, path: str, mask: int) -> None: path = os.path.normpath(path) |