From bfc46e1413292feba443cea39c17edaa238c4793 Mon Sep 17 00:00:00 2001 From: Luiz Costa Date: Mon, 3 Jun 2024 12:24:32 +0100 Subject: [PATCH] debug --- msp_remoteadmin/tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/msp_remoteadmin/tools.py b/msp_remoteadmin/tools.py index 9fa2a2a..0e864fd 100644 --- a/msp_remoteadmin/tools.py +++ b/msp_remoteadmin/tools.py @@ -31,7 +31,8 @@ def create_session(doc, protocol): if token: print(f"Token: {token}") # Get credentials from IT User Account - print(f"Values from form: {doc}\nType: {type(doc.link)}") + print(f"Values from form: {doc}") + print(f"Type: {type(doc.link)}") acc_doc = frappe.get_doc('IT User Account', doc.link) print(f"Print doc values: {acc_doc}") username = acc_doc.username