change default from float to int to prevent warning

This commit is contained in:
Marcos Pinto 2007-07-07 00:11:56 +00:00
parent 9be38a0ad0
commit 9d8e27754c
1 changed files with 4 additions and 4 deletions

View File

@ -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,