De-python-ization

This commit is contained in:
Bán Dénes 2022-12-03 17:40:01 +01:00
parent 17dc5ab169
commit 53b6a98edc
2 changed files with 3 additions and 3 deletions

View file

@ -128,7 +128,7 @@ exports.parse = (config, name, points={}, units={}, asym='source') => {
// otherwise, it is treated as a condition to filter all available points
} else {
source = Object.values(points).filter(complex(config, name, units))
const source = Object.values(points).filter(complex(config, name, units))
if (['source', 'both'].includes(asym)) {
result = result.concat(source)
}