mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-01-26 11:09:54 +00:00
Fix db version being accessed before creation if table fails to create
This should prevent the script from hard crashing like in #288
This commit is contained in:
@@ -78,6 +78,7 @@ class TagFrequencyDb:
|
||||
)
|
||||
|
||||
def __get_version(self):
|
||||
db_version = None
|
||||
with transaction() as cursor:
|
||||
cursor.execute(
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user