diff options
author | fisch0920 <fisch0920@gmail.com> | 2014-06-01 10:31:43 +0400 |
---|---|---|
committer | fisch0920 <fisch0920@gmail.com> | 2014-06-01 10:31:43 +0400 |
commit | 37da0663ea602cb58e57e6a5e98b9cafb9340de1 (patch) | |
tree | 0287195e0a833a3be64b82a99c6615738ff6b30f /bin | |
parent | 831ede0b798da55047fb10b13b11fdc8fc531160 (diff) |
small fix for verifying existing torrent data
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cmd.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -169,10 +169,10 @@ function getRuntime () { } function onTorrent (torrent) { - torrent.on('verifying', function (percent) { + torrent.on('verifying', function (data) { if (!argv.quiet && !argv.list) { clivas.clear() - clivas.line('{green:verifying existing torrent} {bold:'+percent.toFixed(2)+'%}') + clivas.line('{green:verifying existing torrent} {bold:'+data.percentDone.toFixed(2)+'%} ({bold:'+data.percentVerified.toFixed(2)+'%} {green:passed verification})') } }) |