add a connection close statement

This commit is contained in:
Wilfried OLLIVIER 2014-11-17 13:24:59 +01:00
parent c67ea93d98
commit a81bcb985e

View file

@ -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: