diff options
| author | exislow <exislow@users.noreply.github.com> | 2025-11-29 17:03:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-29 17:03:45 +0100 |
| commit | 98da6bc795961eb0c3b2efc82bea685ed661bba1 (patch) | |
| tree | f4c27ec687344fed30a03a273ff56f48ee083f76 /tidal_dl_ng/dialog.py | |
| parent | 28a6fe5a7dbadc9532de228a539c47ec49ca4aa2 (diff) | |
| parent | 0e74ac32d6223f5a05e73d9e468e0bceea682886 (diff) | |
| download | tidal-dl-ng-98da6bc795961eb0c3b2efc82bea685ed661bba1.tar.gz | |
Merge pull request #665 from jotalevi/clarity-check-and-grammar-fixes
Clarity and grammar
Diffstat (limited to 'tidal_dl_ng/dialog.py')
| -rw-r--r-- | tidal_dl_ng/dialog.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tidal_dl_ng/dialog.py b/tidal_dl_ng/dialog.py index 8cb93f6..336b88b 100644 --- a/tidal_dl_ng/dialog.py +++ b/tidal_dl_ng/dialog.py @@ -203,7 +203,7 @@ class DialogPreferences(QtWidgets.QDialog): ): # If a path is set, use it otherwise the users home directory. path_settings: str = os.path.expanduser(obj_line_edit.text()) if obj_line_edit.text() else "" - # Check if obj_line_edit is empty but path_default can be usd instead + # Check if obj_line_edit is empty but path_default can be used instead path_settings = ( path_settings if path_settings else os.path.expanduser(path_default) if path_default else path_settings ) @@ -223,7 +223,7 @@ class DialogPreferences(QtWidgets.QDialog): dialog.setDirectory(dir_current) - # Execute dialog and set path is something is choosen. + # Execute dialog and set path if something is chosen. if dialog.exec(): dir_name: str = dialog.selectedFiles()[0] path: Path = Path(dir_name) |
