Easy. Go to preferences then plugins and then go to the filetype plugins.
If the puzzle piece is green like on this picture then the plugin is active.
The more I think about it I bet your script is looking for a file type other than what you are importing.