fix(rutor): fix x rutor file update

This commit is contained in:
Alexey Kasyanchuk 2018-09-02 22:43:18 +03:00
parent 720946d518
commit f9d2c06ab6

View File

@ -65,10 +65,10 @@ module.exports = class Rutor
this.rutorMap = data.hashes this.rutorMap = data.hashes
logT('rutor', 'add records to', Object.keys(this.rutorMap).length) logT('rutor', 'add records to', Object.keys(this.rutorMap).length)
} }
else else if(!this.rutorMap)
this.rutorMap = {} this.rutorMap = {}
if(page > 11) if(page > 10)
{ {
delete this.rutorMap delete this.rutorMap
return return