Ver código fonte

[minor] print output if login fails

version-14
Rushabh Mehta 8 anos atrás
pai
commit
13ac31a823
1 arquivos alterados com 1 adições e 0 exclusões
  1. +1
    -0
      frappe/frappeclient.py

+ 1
- 0
frappe/frappeclient.py Ver arquivo

@@ -37,6 +37,7 @@ class FrappeClient(object):
if r.status_code==200 and r.json().get('message') == "Logged In":
return r.json()
else:
print(r.text)
raise AuthError

def logout(self):


Carregando…
Cancelar
Salvar