From f9d2c06ab6702af3ededac39d40af197ba1d23d7 Mon Sep 17 00:00:00 2001 From: Alexey Kasyanchuk Date: Sun, 2 Sep 2018 22:43:18 +0300 Subject: [PATCH] fix(rutor): fix x rutor file update --- src/background/strategies/rutor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/background/strategies/rutor.js b/src/background/strategies/rutor.js index 4d686cb..f995409 100644 --- a/src/background/strategies/rutor.js +++ b/src/background/strategies/rutor.js @@ -65,10 +65,10 @@ module.exports = class Rutor this.rutorMap = data.hashes logT('rutor', 'add records to', Object.keys(this.rutorMap).length) } - else + else if(!this.rutorMap) this.rutorMap = {} - if(page > 11) + if(page > 10) { delete this.rutorMap return