Browse Source

Merge pull request #438 from jhao104/develop

fix #356
J_hao104 6 years ago
parent
commit
108d12edda
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Api/ProxyApi.py

+ 1 - 1
Api/ProxyApi.py

@@ -69,7 +69,7 @@ def refresh():
 @app.route('/get_all/')
 @app.route('/get_all/')
 def getAll():
 def getAll():
     proxies = ProxyManager().getAll()
     proxies = ProxyManager().getAll()
-    return [_.info_dict for _ in proxies]
+    return jsonify([_.info_dict for _ in proxies])
 
 
 
 
 @app.route('/delete/', methods=['GET'])
 @app.route('/delete/', methods=['GET'])