Skip to content

Commit d926fdb

Browse files
committed
chore(python): remove debug print
1 parent 48b7f3a commit d926fdb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

source/binding/Python/maa/library.py

-4
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ def open(path: pathlib.Path, agent_server: bool = False):
7272
def framework() -> ctypes.CDLL:
7373
if not Library.is_agent_server():
7474
if not Library._framework:
75-
print(f"Opening framework library: {Library.framework_libpath}")
7675
Library._framework = Library._lib_type(str(Library.framework_libpath))
7776

7877
return Library._framework
@@ -82,7 +81,6 @@ def framework() -> ctypes.CDLL:
8281
@staticmethod
8382
def toolkit() -> ctypes.CDLL:
8483
if not Library._toolkit:
85-
print(f"Opening toolkit library: {Library.toolkit_libpath}")
8684
Library._toolkit = Library._lib_type(str(Library.toolkit_libpath))
8785

8886
return Library._toolkit
@@ -93,7 +91,6 @@ def agent_client() -> ctypes.CDLL:
9391
raise ValueError("Agent server is not available in the current context.")
9492

9593
if not Library._agent_client:
96-
print(f"Opening agent client library: {Library.agent_client_libpath}")
9794
Library._agent_client = Library._lib_type(
9895
str(Library.agent_client_libpath)
9996
)
@@ -106,7 +103,6 @@ def agent_server() -> ctypes.CDLL:
106103
raise ValueError("Agent client is not available in the current context.")
107104

108105
if not Library._agent_server:
109-
print(f"Opening agent server library: {Library.agent_server_libpath}")
110106
Library._agent_server = Library._lib_type(
111107
str(Library.agent_server_libpath)
112108
)

0 commit comments

Comments
 (0)