mirror of https://github.com/calzoneman/sync.git
Fix import script
This commit is contained in:
parent
341d17c7b9
commit
4f0094652b
|
@ -200,7 +200,7 @@ function copyChannelTables(name, cb) {
|
||||||
rows = rows.map(function (r) {
|
rows = rows.map(function (r) {
|
||||||
if (r.rank === 10) {
|
if (r.rank === 10) {
|
||||||
r.rank = 5;
|
r.rank = 5;
|
||||||
} else if (r.rank >= 3 && r.rank < 10) {
|
} else if (r.rank > 3 && r.rank < 10) {
|
||||||
r.rank = 4;
|
r.rank = 4;
|
||||||
}
|
}
|
||||||
return [r.name, r.rank];
|
return [r.name, r.rank];
|
||||||
|
|
Loading…
Reference in New Issue