mirror of
https://github.com/simon987/od-database.git
synced 2025-04-20 02:46:45 +00:00
Closing curl handle manually just to make sure
This commit is contained in:
parent
dff4125c9f
commit
faa9ac3ccb
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user