diff -r 6fa22aa4fc4a -r 8b5c6896655b eric6/Debugger/EditBreakpointDialog.py --- a/eric6/Debugger/EditBreakpointDialog.py Mon Apr 12 19:25:18 2021 +0200 +++ b/eric6/Debugger/EditBreakpointDialog.py Mon Apr 12 19:54:29 2021 +0200 @@ -143,10 +143,7 @@ ignore count) """ fn = self.filenamePicker.currentText() - if not fn: - fn = None - else: - fn = os.path.expanduser(os.path.expandvars(fn)) + fn = os.path.expanduser(os.path.expandvars(fn)) if fn else None return (fn, self.linenoSpinBox.value(), self.conditionCombo.currentText(),