Browse Source

Fixing a minor issue of replacing \s separators with spaces

Kirk Trombley 5 years ago
parent
commit
7bc581c5f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -145,7 +145,7 @@ def get_users():
 
 @app.route("/")
 def get_status():
-    return jsonify({"users": get_users()[0]})
+    return jsonify({"users": [u.replace(r"\s", " ") for u in get_users()[0]]})
 
 
 @app.route("/page")