diff options
author | Blake DeMarcy <ofunknowndescent@gmail.com> | 2017-04-28 22:22:58 -0500 |
---|---|---|
committer | Blake DeMarcy <ofunknowndescent@gmail.com> | 2017-04-28 22:22:58 -0500 |
commit | d5af4413e9e905e072c1024aded58eecb55d7209 (patch) | |
tree | d768557cea2789f85ac6c0a906c6708f84664e01 | |
parent | 2da20f80f74f824364f44d4b6926c612e39e60c6 (diff) | |
download | bbj-d5af4413e9e905e072c1024aded58eecb55d7209.tar.gz |
change debug output format
-rw-r--r-- | server.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,7 +46,7 @@ def api_method(function): auth = cherrypy.request.headers.get("Auth") 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): raise BBJParameterError("User or Auth was given without the other.") |