mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix error when db check run on corrupt collection
This commit is contained in:
parent
d333d0da74
commit
f06ebb9ea3
1 changed files with 1 additions and 1 deletions
|
@ -1026,7 +1026,7 @@ table.review-log {{ {revlog_style} }}
|
|||
ok = not problems
|
||||
problems.append(self.tr.database_check_rebuilt())
|
||||
except DBError as err:
|
||||
problems = [str(err.args[0])]
|
||||
problems = [str(err)]
|
||||
ok = False
|
||||
finally:
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue