2
0
forked from Wavyzz/dolibarr

Fix syntax

This commit is contained in:
ldestailleur
2025-07-19 18:00:22 +02:00
parent daae9593d6
commit 85f49c2272
2 changed files with 7 additions and 6 deletions

1
test/other/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/__pycache__/

View File

@@ -23,14 +23,14 @@ server.ehlo()
try:
print (auth_string)
response = server.docmd("AUTH", "XOAUTH2 " + auth_string)
response = server.docmd("AUTH", "XOAUTH2 " + auth_string)
# Check authentication
if response[0] != 235:
raise Exception(f"Authentication fails : {response[1].decode()}")
# Check authentication
if response[0] != 235:
raise Exception(f"Authentication fails : {response[1].decode()}")
except Exception as e:
print (f"Error : {e}")
print (f"Error : {e}")
finally:
server.quit()
server.quit()