From 03e339cbe55289945b2ff73d80b1b3fdcdd60f8b Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Tue, 7 Aug 2018 09:24:11 -0700 Subject: [PATCH] Fix logging argument --- src/pylorax/api/v0.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylorax/api/v0.py b/src/pylorax/api/v0.py index 7a4645c7..72d3dbc7 100644 --- a/src/pylorax/api/v0.py +++ b/src/pylorax/api/v0.py @@ -1601,7 +1601,7 @@ def v0_api(api): if not modules: msg = "one of the requested modules does not exist: %s" % module_names - log.error("(v0_modules_info) %s" % msg) + log.error("(v0_modules_info) %s", msg) return jsonify(status=False, errors=[msg]), 400 return jsonify(modules=modules)