mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-04-30 11:11:21 +00:00
feat: ignore NansException
This commit is contained in:
11
sd_webui/devices.py
Normal file
11
sd_webui/devices.py
Normal 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
|
||||
Reference in New Issue
Block a user