diff options
| author | 2024-06-22 21:19:36 -0400 | |
|---|---|---|
| committer | 2024-06-22 21:19:36 -0400 | |
| commit | 80e39a8fc7de105510cbbdca8507f2a4b8c9e01d (patch) | |
| tree | bb5caa2f5fafc5116b8f89e659085ffbd8a918f2 /gallery_dl/downloader/text.py | |
| parent | 1c28712d865e30ed752988ba0b6944882250b665 (diff) | |
New upstream version 1.27.1.upstream/1.27.1
Diffstat (limited to 'gallery_dl/downloader/text.py')
| -rw-r--r-- | gallery_dl/downloader/text.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/downloader/text.py b/gallery_dl/downloader/text.py index c57fbd0..a668d62 100644 --- a/gallery_dl/downloader/text.py +++ b/gallery_dl/downloader/text.py @@ -18,8 +18,8 @@ class TextDownloader(DownloaderBase): if self.part: pathfmt.part_enable(self.partdir) self.out.start(pathfmt.path) - with pathfmt.open("wb") as file: - file.write(url.encode()[5:]) + with pathfmt.open("wb") as fp: + fp.write(url.encode()[5:]) return True |
