parent
40033c0183
commit
3c1aa35067
|
@ -34,11 +34,11 @@ import typing
|
|||
from threading import Thread
|
||||
from time import sleep
|
||||
|
||||
import gi
|
||||
|
||||
from hidapi.common import DeviceInfo
|
||||
|
||||
if typing.TYPE_CHECKING:
|
||||
import gi
|
||||
|
||||
gi.require_version("Gdk", "3.0")
|
||||
from gi.repository import GLib # NOQA: E402
|
||||
|
||||
|
|
|
@ -37,12 +37,13 @@ from select import select
|
|||
from time import sleep
|
||||
from time import time
|
||||
|
||||
import gi
|
||||
import pyudev
|
||||
|
||||
from hidapi.common import DeviceInfo
|
||||
|
||||
if typing.TYPE_CHECKING:
|
||||
import gi
|
||||
|
||||
gi.require_version("Gdk", "3.0")
|
||||
from gi.repository import GLib # NOQA: E402
|
||||
|
||||
|
|
Loading…
Reference in New Issue