@Justin 

Instead of 
name = idx.data()

for exc in self._excludes: 
    if name.endswith(exc):
        return False

Below one is simple & perfect in my case, wht do you think ??
fileType = self.sourceModel().fileInfo(idx).suffix()
for exc in self._excludes: 
    if exc == fileType:
        return False


-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/a56baa41-72fc-4be7-9cb6-6c38d0e175dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to