еще исправления

This commit is contained in:
Alexey Kasyanchuk
2017-01-03 11:14:58 +03:00
parent ed324d01d2
commit b6a1e82724

View File

@ -25,6 +25,8 @@ socketMysql.connect(function(mysqlError) {
socketMysql.query('UPDATE `torrents` SET `contentType` = ? WHERE `hash` = ?', [torrent.contentType, torrent.hash], function (error, files, fields) {
console.log((++inc) + '/' + torrents.length);
});
} else {
console.log((++inc) + '/' + torrents.length);
}
});
});