diff --git a/src/delugegtk.py b/src/delugegtk.py index 17d22ecd3..2612e100b 100644 --- a/src/delugegtk.py +++ b/src/delugegtk.py @@ -474,7 +474,8 @@ class DelugeGTK: self.tray.set_visible(self.config.get("enable_system_tray", bool)) self.manager.set_pref("listen_on", [self.config.get("tcp_port_range_lower", int), self.config.get("tcp_port_range_upper", int)]) self.manager.set_pref("max_uploads", self.config.get("max_number_uploads", int)) - self.manager.set_pref("max_download_rate", self.config.get("max_download_rate", int)) + self.manager.set_pref("max_upload_rate", 1024 * self.config.get("max_upload_rate", int)) + self.manager.set_pref("max_download_rate", 1024 * self.config.get("max_download_rate", int)) self.manager.set_pref("max_connections", self.config.get("max_number_downloads", int))