Fix gadgethdf parttype catching
Merge pull request #216 from alexji/master

Fix gadgethdf parttype catching