How to avoid locators when selecting all geometry in a scene

The below code works well apart from it also including any locators in the scene… any tips on excluding locators?

cmds.select(cmds.listRelatives(cmds.ls(geometry=True), p=True, path=True), r=True)

chur

Jamie

cmds.listRelatives(cmds.ls(type=‘mesh’), p=True, path=True)