Newline fix in adblock.py
This commit is contained in:
parent
f69acd25be
commit
1fb24e45ff
@ -47,6 +47,7 @@ def guess_zip_filename(zf):
|
||||
return e
|
||||
raise FileNotFoundError("No hosts file found in zip")
|
||||
|
||||
|
||||
def get_fileobj(byte_io):
|
||||
"""Get an usable file object to read the hosts file from."""
|
||||
byte_io.seek(0) # rewind downloaded file
|
||||
|
Loading…
Reference in New Issue
Block a user