mirror of
https://github.com/simon987/od-database.git
synced 2025-12-13 23:09:01 +00:00
Closing curl handle manually just to make sure
This commit is contained in:
@@ -190,6 +190,7 @@ class HttpDirectory(RemoteDirectory):
|
|||||||
|
|
||||||
path, name = os.path.split(stripped_url)
|
path, name = os.path.split(stripped_url)
|
||||||
date = headers.get("Last-Modified", "1970-01-01")
|
date = headers.get("Last-Modified", "1970-01-01")
|
||||||
|
curl.close()
|
||||||
return File(
|
return File(
|
||||||
path=unquote(path).strip("/"),
|
path=unquote(path).strip("/"),
|
||||||
name=unquote(name),
|
name=unquote(name),
|
||||||
|
|||||||
Reference in New Issue
Block a user