Fix another hasty cache hack bug.
This commit is contained in:
parent
ba0f707669
commit
129c56c1d4
4
av98.py
4
av98.py
|
@ -528,10 +528,10 @@ you'll be able to transparently follow links to Gopherspace!""")
|
||||||
|
|
||||||
# Maintain cache and log
|
# Maintain cache and log
|
||||||
if self.options["cache"]:
|
if self.options["cache"]:
|
||||||
self._add_to_cache(gi.url, mime, tmpf.name)
|
self._add_to_cache(gi.url, mime, self.tmp_filename)
|
||||||
self._log_visit(gi, address, size)
|
self._log_visit(gi, address, size)
|
||||||
|
|
||||||
return gi, mime, body, tmpf
|
return gi, mime, body, self.tmp_filename
|
||||||
|
|
||||||
def _send_request(self, gi):
|
def _send_request(self, gi):
|
||||||
"""Send a selector to a given host and port.
|
"""Send a selector to a given host and port.
|
||||||
|
|
Loading…
Reference in New Issue