update gitignore

This commit is contained in:
alyssadev 2022-02-13 04:02:17 +10:00
parent 8c58321c7a
commit 5539b55afe
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
__pycache__
*.pyc
dl/

View file

@ -50,8 +50,8 @@ def get_file(message_ids, group=None, filename=None, sizes=None):
try:
f += get_part(m, group=group)
except NNTPTemporaryError:
debug(f"Couldn't get that article, adding 0x00 * {str(sizes[n])}")
f += b"\0" * sizes[n]
debug(f"Couldn't get that article, skipping")
#f += b"\0" * sizes[n]
continue
if filename:
with open(os.path.join(dest, filename), "wb") as fh: