Skip to content

Commit 7eda3db

Browse files
committed
Updating logs
1 parent 205ca70 commit 7eda3db

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

PyPI/Package/src/webui/load_library.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def load_library() -> CDLL | None:
6868
if platform.system() == 'Darwin':
6969
library = CDLL(lib_path)
7070
if library is None:
71-
print("WebUI Dynamic Library not found.")
71+
print("WebUI: Dynamic Library not found.")
7272
elif platform.system() == 'Windows':
7373
if sys.version_info.major==3 and sys.version_info.minor<=8:
7474
os.chdir(os.getcwd())
@@ -79,12 +79,12 @@ def load_library() -> CDLL | None:
7979
os.add_dll_directory(os.getcwd())
8080
library = cdll.LoadLibrary(lib_path)
8181
if library is None:
82-
print("WebUI Dynamic Library not found.")
82+
print("WebUI: Dynamic Library not found.")
8383
elif platform.system() == 'Linux':
8484
library = CDLL(lib_path)
8585
if library is None:
86-
print("WebUI Dynamic Library not found.")
86+
print("WebUI: Dynamic Library not found.")
8787
else:
88-
print("Unsupported OS")
88+
print("WebUI: Unsupported OS")
8989

9090
return library

PyPI/Package/src/webui/webui_bindings.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@
1717
# Loading the library in for bindings
1818
lib: CDLL | None = ll.load_library()
1919
if lib is None:
20-
print('WebUI Dynamic Library not found.')
20+
print('WebUI: Dynamic Library not found.')
2121
sys.exit(1)
2222
else:
23-
print('WebUI Dynamic Library found.')
2423
webui_lib: CDLL = lib
2524

2625

0 commit comments

Comments
 (0)