diff --git a/patches/patch1.js b/patches/patch1.js index d5476ef..1705ef1 100644 --- a/patches/patch1.js +++ b/patches/patch1.js @@ -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); } }); });