File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ def _download_library():
5656
5757
5858# Load WebUI Dynamic Library
59- def _load_library () -> CDLL :
59+ def load_library () -> CDLL :
6060 library : CDLL | None = None
6161 lib_path = _get_library_path ()
6262 if not os .path .exists (lib_path ):
Original file line number Diff line number Diff line change 1616from ctypes import *
1717
1818# Import all the raw bindings
19- import webui_bindings as _raw
19+ from . import webui_bindings as _raw
2020
2121
2222
Original file line number Diff line number Diff line change 22
33import sys
44from ctypes import *
5- from load_library import _load_library
5+ from . import load_library as ll
66import enum
77
88# WebUI Library
1515
1616
1717# Loading the library in for bindings
18- lib : CDLL | None = _load_library ()
18+ lib : CDLL | None = ll . load_library ()
1919if lib is None :
2020 print ('WebUI Dynamic Library not found.' )
2121 sys .exit (1 )
You can’t perform that action at this time.
0 commit comments