Update massadmin.py

return work with inline elements