mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +00:00
fix for last commit. oops
This commit is contained in:
parent
3603445992
commit
34809aa74d
1 changed files with 1 additions and 1 deletions
|
@ -837,7 +837,7 @@ class DelugeGTK:
|
||||||
# Update Statusbar and Tray Tips
|
# Update Statusbar and Tray Tips
|
||||||
core_state = self.manager.get_state()
|
core_state = self.manager.get_state()
|
||||||
connections = core_state['num_peers']
|
connections = core_state['num_peers']
|
||||||
if (int(self.config.get("max_connections")) == -1):
|
if self.config.get("max_connections") < 0 :
|
||||||
max_connections = _("Unlimited")
|
max_connections = _("Unlimited")
|
||||||
else:
|
else:
|
||||||
max_connections = int(self.config.get("max_connections"))
|
max_connections = int(self.config.get("max_connections"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue