Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorfisch0920 <fisch0920@gmail.com>2014-06-05 04:55:18 +0400
committerfisch0920 <fisch0920@gmail.com>2014-06-05 04:55:18 +0400
commita67d87bd03c359614c504ccc959bcda50dd71d85 (patch)
tree86a4573087ce9c98c2ef87cd38c6efdf5bbcf97b /bin
parent8837025c79f0cac46369607433922d3f43ab324c (diff)
small formatting improvement for initial piece verification display
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cmd.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cmd.js b/bin/cmd.js
index 9112741..fa2abb3 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
@@ -172,7 +172,7 @@ function onTorrent (torrent) {
torrent.on('verifying', function (data) {
if (!argv.quiet && !argv.list) {
clivas.clear()
- clivas.line('{green:verifying existing torrent} {bold:'+data.percentDone.toFixed(2)+'%} ({bold:'+data.percentVerified.toFixed(2)+'%} {green:passed verification})')
+ clivas.line('{green:verifying existing torrent} {bold:'+Math.floor(data.percentDone)+'%} ({bold:'+Math.floor(data.percentVerified)+'%} {green:passed verification})')
}
})