From b6a1e82724c9d1d61548ed2e261ee3d0f51839b3 Mon Sep 17 00:00:00 2001 From: Alexey Kasyanchuk Date: Tue, 3 Jan 2017 11:14:58 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B5=D1=89=D0=B5=20=D0=B8=D1=81=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- patches/patch1.js | 2 ++ 1 file changed, 2 insertions(+) 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); } }); });