fix for bandwidth settings

This commit is contained in:
Zach Tibbitts 2007-03-01 23:08:28 +00:00
parent 3dcbd9444e
commit 4f264b3fd0
1 changed files with 1 additions and 1 deletions

View File

@ -551,7 +551,7 @@ class DelugeGTK:
if not (ulrate == -1): if not (ulrate == -1):
ulrate *= 1024 ulrate *= 1024
if not (dlrate == -1): if not (dlrate == -1):
ulrate *= 1024 dlrate *= 1024
ports = [self.config.get("tcp_port_range_lower", int, default=6881), ports = [self.config.get("tcp_port_range_lower", int, default=6881),
self.config.get("tcp_port_range_upper", int, default=6889)] self.config.get("tcp_port_range_upper", int, default=6889)]
self.tray_icon.set_visible(self.config.get("enable_system_tray", bool, default=True)) self.tray_icon.set_visible(self.config.get("enable_system_tray", bool, default=True))