From 7a3623a14ee2ffa021c1a2a8f337826e055b328d Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Thu, 18 Jun 2015 18:12:11 +0200 Subject: fix pep8 whitespace --- libpathod/app.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'libpathod/app.py') diff --git a/libpathod/app.py b/libpathod/app.py index cd7a8bd6..4a8d2b63 100644 --- a/libpathod/app.py +++ b/libpathod/app.py @@ -12,6 +12,7 @@ EXAMPLE_WEBSOCKET_KEY = "examplekey" # pylint: disable=unused-variable + def make_app(noapi, debug): app = Flask(__name__) app.debug = debug @@ -20,13 +21,13 @@ def make_app(noapi, debug): @app.route('/api/info') def api_info(): return jsonify( - version = version.IVERSION + version=version.IVERSION ) @app.route('/api/log') def api_log(): return jsonify( - log = app.config["pathod"].get_log() + log=app.config["pathod"].get_log() ) @app.route('/api/clear_log') @@ -125,10 +126,10 @@ def make_app(noapi, debug): spec = request.args["spec"] args = dict( - spec = spec, - section = "main", - syntaxerror = None, - error = None, + spec=spec, + section="main", + syntaxerror=None, + error=None, ) if not spec.strip(): args["error"] = "Can't parse an empty spec." -- cgit v1.2.3