mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
typing fixes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user