change debug output format

pull/4/head
Blake DeMarcy 2017-04-28 22:22:58 -05:00
parent 2da20f80f7
commit d5af4413e9
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ def api_method(function):
auth = cherrypy.request.headers.get("Auth") auth = cherrypy.request.headers.get("Auth")
if debug: if debug:
print("Body: {}\n\n-----------\n{}".format(body, (username, auth))) print("\n\n\nBody: {}\n\ne----------".format(body))
if (username and not auth) or (auth and not username): if (username and not auth) or (auth and not username):
raise BBJParameterError("User or Auth was given without the other.") raise BBJParameterError("User or Auth was given without the other.")