selectattr() returns a generator object, an iterator. This leads to an exception later, lists can't concated to iterators, only to other lists. So '| list' converts the iterator to a list and the script runs happily.development
parent
f400093865
commit
c86720eeae
Loading…
Reference in new issue