mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(app): fix swapped image counts for uncategorized
This commit is contained in:
parent
9d3a72fff3
commit
dca5a2ce26
@ -295,8 +295,8 @@ class SqliteBoardRecordStorage(BoardRecordStorageBase):
|
||||
"""
|
||||
self._cursor.execute(query)
|
||||
results = self._cursor.fetchall()
|
||||
image_count = results[0][1]
|
||||
asset_count = results[1][1]
|
||||
image_count = dict(results)['images']
|
||||
asset_count = dict(results)['assets']
|
||||
return UncategorizedImageCounts(image_count=image_count, asset_count=asset_count)
|
||||
finally:
|
||||
self._lock.release()
|
||||
|
Loading…
Reference in New Issue
Block a user