fixed extraneous 'self' argument in flatten()
Merge branch 'master' of github.com:monotasker/plugin_utils