update gitignore
This commit is contained in:
parent
8c58321c7a
commit
5539b55afe
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
__pycache__
|
__pycache__
|
||||||
*.pyc
|
*.pyc
|
||||||
|
dl/
|
||||||
|
|
|
@ -50,8 +50,8 @@ def get_file(message_ids, group=None, filename=None, sizes=None):
|
||||||
try:
|
try:
|
||||||
f += get_part(m, group=group)
|
f += get_part(m, group=group)
|
||||||
except NNTPTemporaryError:
|
except NNTPTemporaryError:
|
||||||
debug(f"Couldn't get that article, adding 0x00 * {str(sizes[n])}")
|
debug(f"Couldn't get that article, skipping")
|
||||||
f += b"\0" * sizes[n]
|
#f += b"\0" * sizes[n]
|
||||||
continue
|
continue
|
||||||
if filename:
|
if filename:
|
||||||
with open(os.path.join(dest, filename), "wb") as fh:
|
with open(os.path.join(dest, filename), "wb") as fh:
|
||||||
|
|
Loading…
Reference in a new issue