ls-manual-update

Checks for manual update of ls-vertretunsplan-desktop and tells outdated clients
git clone git://archive.git.mtrnord.blog/MTRNord/ls-manual-update.git
Log | Files | Refs | LICENSE

commit 698408508dad3f6014fb7b2b84375590f30c4312
parent e21eecba812e457910dba41d2c98229ed8d94e92
Author: Marcel <mtrnord1@gmail.com>
Date:   Wed, 30 Nov 2016 09:51:10 +0100

some debugging

Diffstat:
Mindex.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/index.js b/index.js @@ -40,7 +40,7 @@ io.on('connection', function(socket){ var local_asset = key["name"] io.emit('AupdateStatus', 'local'); }else { - if (!x < assets.length) { + if (!x == assets.length) { console.log("not local"); io.emit('AupdateStatus', 'NOTlocal'); } @@ -68,7 +68,7 @@ io.on('connection', function(socket){ var local_asset = key["name"] io.emit('AupdateStatus', 'local'); }else { - if (!x < assets.length) { + if (!x == assets.length) { console.log("not local"); io.emit('AupdateStatus', 'NOTlocal'); }