@@ -49,6 +49,7 @@ def insert_file(hsh, filename, timestamp, db=None, uploaded=None):
station,
)
+ cursor.close()
def hash_file(filename):
ahash = md5()