def runImport(self): ''' Import a GeoJSON file ''' self.dlg = ImportShpDialog(self.filename) if self.dlg.valid: self.dlg.show()