feat: ignore NansException

This commit is contained in:
Bingsu
2023-07-02 13:21:28 +09:00
parent 2bd4db94d5
commit 3402c29978
2 changed files with 19 additions and 1 deletions

11
sd_webui/devices.py Normal file
View File

@@ -0,0 +1,11 @@
from __future__ import annotations
from typing import TYPE_CHECKING
if TYPE_CHECKING:
class NansException(Exception): # noqa: N818
pass
else:
from modules.devices import NansException