summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Churchill <damoxc@gmail.com>2011-10-04 18:17:08 +0100
committerDamien Churchill <damoxc@gmail.com>2011-10-05 01:36:58 +0100
commit632473703182f7c53393bb94256c88fef3ea59e4 (patch)
tree3bdaa8fcffbda8e071c21cc28b297b39fc295828
parent428681aca322bf7a26864f9a6bbe604af879b768 (diff)
downloaddeluge-632473703182f7c53393bb94256c88fef3ea59e4.tar.gz
deluge-632473703182f7c53393bb94256c88fef3ea59e4.tar.bz2
deluge-632473703182f7c53393bb94256c88fef3ea59e4.zip
web: simple formatting change
Nicely space out a few dictionaries so they are easier on the eye when reading the code.
-rw-r--r--deluge/ui/web/json_api.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/deluge/ui/web/json_api.py b/deluge/ui/web/json_api.py
index 0640b75e7..ae4d4724f 100644
--- a/deluge/ui/web/json_api.py
+++ b/deluge/ui/web/json_api.py
@@ -505,11 +505,11 @@ class WebApi(JSONComponent):
d = Deferred()
ui_info = {
"connected": client.connected(),
- "torrents": None,
- "filters": None,
+ "torrents": None,
+ "filters": None,
"stats": {
- "max_download": self.core_config.get("max_download_speed"),
- "max_upload": self.core_config.get("max_upload_speed"),
+ "max_download": self.core_config.get("max_download_speed"),
+ "max_upload": self.core_config.get("max_upload_speed"),
"max_num_connections": self.core_config.get("max_connections_global")
}
}