add a connection close statement
This commit is contained in:
parent
c67ea93d98
commit
a81bcb985e
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ def extract_cookies_to_jar(cookie_db):
|
||||||
|
|
||||||
cookie = r.fetchone()
|
cookie = r.fetchone()
|
||||||
|
|
||||||
|
conn.close()
|
||||||
|
|
||||||
return cookie
|
return cookie
|
||||||
|
|
||||||
except sqlite3.Error as e:
|
except sqlite3.Error as e:
|
||||||
|
|
Loading…
Reference in a new issue