fix auto merge problem

This commit is contained in:
zaowen 2018-09-20 11:56:12 -06:00
parent b41d7ba203
commit 0680f84ca4

View File

@ -202,9 +202,9 @@ class HostBlocker:
message.error("adblock: Error while reading {}: {}".format(
filename, e.strerror))
return
download = FakeDownload(fileobj)
download = _FakeDownload(fileobj)
self._in_progress.append(download)
self.on_download_finished(download)
self._on_download_finished(download)
def _parse_line(self, line):
"""Parse a line from a host file.