Closing curl handle manually just to make sure

This commit is contained in:
Simon 2018-08-23 12:48:15 -04:00
parent dff4125c9f
commit faa9ac3ccb

View File

@ -190,6 +190,7 @@ class HttpDirectory(RemoteDirectory):
path, name = os.path.split(stripped_url)
date = headers.get("Last-Modified", "1970-01-01")
curl.close()
return File(
path=unquote(path).strip("/"),
name=unquote(name),