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/download.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/download.py')
| -rw-r--r-- | tidal_dl_ng/download.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tidal_dl_ng/download.py b/tidal_dl_ng/download.py index 33a23aa..a95f351 100644 --- a/tidal_dl_ng/download.py +++ b/tidal_dl_ng/download.py @@ -406,7 +406,7 @@ class Download: with path_file.open("wb") as f_target: for dl_segment_result in dl_segment_results: with dl_segment_result.path_segment.open("rb") as f_segment: - # Read and write junks, which gives better HDD write performance + # Read and write chunks, which gives better HDD write performance while segment := f_segment.read(CHUNK_SIZE): f_target.write(segment) @@ -1244,7 +1244,7 @@ class Download: response: requests.Response = requests.get(url, timeout=REQUESTS_TIMEOUT_SEC) result = response.content except Exception as e: - # TODO: Implement propper logging. + # TODO: Implement proper logging. print(e) finally: response.close() @@ -1253,7 +1253,7 @@ class Download: with open(path_file, "rb") as f: result = f.read() except OSError as e: - # TODO: Implement propper logging. + # TODO: Implement proper logging. print(e) return result |
