

def onEnter(self):
    lineObjs = self.getPathsToUse()
    if (not lineObjs):
        lineObjs = presetCommand.getHoveredPaths()
    logger.addEvent('selected_num_files', len(lineObjs))
    presetCommand = self.flags.getPresetCommand()
    if (len(presetCommand) > 0):
        output.execComposedCommand(presetCommand, lineObjs)
    else:
        output.editFiles(lineObjs)
    sys.exit(0)

dataset/ETHPy150Open facebook/PathPicker/src/screenControl.py Controller.onEnter/VarMisuse@28/41 `self`->`presetCommand`