mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
web: simple formatting change
Nicely space out a few dictionaries so they are easier on the eye when reading the code.
This commit is contained in:
parent
428681aca3
commit
6324737031
1 changed files with 4 additions and 4 deletions
|
@ -505,11 +505,11 @@ class WebApi(JSONComponent):
|
||||||
d = Deferred()
|
d = Deferred()
|
||||||
ui_info = {
|
ui_info = {
|
||||||
"connected": client.connected(),
|
"connected": client.connected(),
|
||||||
"torrents": None,
|
"torrents": None,
|
||||||
"filters": None,
|
"filters": None,
|
||||||
"stats": {
|
"stats": {
|
||||||
"max_download": self.core_config.get("max_download_speed"),
|
"max_download": self.core_config.get("max_download_speed"),
|
||||||
"max_upload": self.core_config.get("max_upload_speed"),
|
"max_upload": self.core_config.get("max_upload_speed"),
|
||||||
"max_num_connections": self.core_config.get("max_connections_global")
|
"max_num_connections": self.core_config.get("max_connections_global")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue