mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 06:07:11 -05:00
removed size report in check db
This commit is contained in:
parent
229b7d1b22
commit
7458fca33c
1 changed files with 0 additions and 3 deletions
|
|
@ -648,10 +648,7 @@ select id from notes where id not in (select distinct nid from cards)""")
|
|||
# and finally, optimize
|
||||
self.optimize()
|
||||
newSize = os.stat(self.path)[stat.ST_SIZE]
|
||||
save = (oldSize - newSize)/1024
|
||||
txt = _("Database rebuilt and optimized.")
|
||||
if save > 0:
|
||||
txt += "\n" + _("Saved %dKB.") % save
|
||||
ok = not problems
|
||||
problems.append(txt)
|
||||
self.save()
|
||||
|
|
|
|||
Loading…
Reference in a new issue