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