From 9d8e27754c0978d82d063840f0fda99b9a4ed5a3 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sat, 7 Jul 2007 00:11:56 +0000 Subject: [PATCH] change default from float to int to prevent warning --- src/pref.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pref.py b/src/pref.py index 72957069d..fabe7d15f 100644 --- a/src/pref.py +++ b/src/pref.py @@ -54,11 +54,11 @@ DEFAULT_PREFS = { "max_active_torrents" : -1, "max_connections" : 400, "max_download_rate" : -1, - "max_download_rate_bps": -1.0, - "max_number_downloads" : -1.0, - "max_number_uploads" : -1.0, + "max_download_rate_bps": -1, + "max_number_downloads" : -1, + "max_number_uploads" : -1, "max_upload_rate" : -1, - "max_upload_rate_bps" : -1.0, + "max_upload_rate_bps" : -1, "max_uploads" : 2, "pref_rc4" : True, "proxy_type" : common.ProxyType.none,