diff --git a/.idea/workspace.xml b/.idea/workspace.xml index dadc768..43beee1 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,7 @@ - + @@ -33,13 +33,144 @@ - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -90,14 +221,12 @@ - + - - - - - + + + @@ -106,11 +235,11 @@ - + - - + + @@ -118,21 +247,31 @@ - + - + + + + + + + + + + + - - + + @@ -206,14 +345,10 @@ @@ -494,36 +633,6 @@ \ No newline at end of file diff --git a/functions.py b/functions.py index b6c6c36..ba8474e 100644 --- a/functions.py +++ b/functions.py @@ -1546,6 +1546,7 @@ class DownloadDB: self.db.commit() self.cur.close() except: + self.cur.close() self.db.close() os.remove(self.filename) first = True