diff options
author | fisch0920 <fisch0920@gmail.com> | 2014-06-05 04:55:18 +0400 |
---|---|---|
committer | fisch0920 <fisch0920@gmail.com> | 2014-06-05 04:55:18 +0400 |
commit | a67d87bd03c359614c504ccc959bcda50dd71d85 (patch) | |
tree | 86a4573087ce9c98c2ef87cd38c6efdf5bbcf97b /bin | |
parent | 8837025c79f0cac46369607433922d3f43ab324c (diff) |
small formatting improvement for initial piece verification display
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cmd.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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})') } }) |