Fix db version being accessed before creation if table fails to create
This should prevent the script from hard crashing like in #288pull/293/head
parent
3eef536b64
commit
29b5bf0701
|
|
@ -78,6 +78,7 @@ class TagFrequencyDb:
|
|||
)
|
||||
|
||||
def __get_version(self):
|
||||
db_version = None
|
||||
with transaction() as cursor:
|
||||
cursor.execute(
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue