src/eric7/EricWidgets/EricPathPicker.py

branch
eric7
changeset 9259
66167d4d0407
parent 9238
a7cbf3d61498
child 9413
80c06d472826
equal deleted inserted replaced
9258:52a1ff7adb16 9259:66167d4d0407
348 EricPathPickerModes.OPEN_FILES_MODE, 348 EricPathPickerModes.OPEN_FILES_MODE,
349 EricPathPickerModes.OPEN_FILES_AND_DIRS_MODE, 349 EricPathPickerModes.OPEN_FILES_AND_DIRS_MODE,
350 ): 350 ):
351 return [pathlib.Path(t) for t in self.text().split(";")] 351 return [pathlib.Path(t) for t in self.text().split(";")]
352 else: 352 else:
353 return [pathlib.Path(self.text)] 353 return [pathlib.Path(self.text())]
354 354
355 def firstPath(self): 355 def firstPath(self):
356 """ 356 """
357 Public method to get the first path of a list of entered paths. 357 Public method to get the first path of a list of entered paths.
358 358

eric ide

mercurial