Merge pull request #1071 from JoesCat/master

make check (for python scripting)