We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 691c651 commit 94f9bb7Copy full SHA for 94f9bb7
1 file changed
PyPI/Package/src/webui/load_library.py
@@ -56,7 +56,7 @@ def _download_library():
56
57
58
# Load WebUI Dynamic Library
59
-def load_library() -> CDLL:
+def load_library() -> CDLL | None:
60
library: CDLL | None = None
61
lib_path = _get_library_path()
62
if not os.path.exists(lib_path):
@@ -87,4 +87,4 @@ def load_library() -> CDLL:
87
else:
88
print("Unsupported OS")
89
90
- return library
+ return library
0 commit comments