mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
increase default number of backups; don't put in trash
This commit is contained in:
parent
d3233f2446
commit
7b844d12cb
2 changed files with 2 additions and 2 deletions
|
@ -420,7 +420,7 @@ from the profile screen."))
|
|||
while len(backups) > nbacks:
|
||||
fname = backups.pop(0)
|
||||
path = os.path.join(dir, fname)
|
||||
send2trash(path)
|
||||
os.unlink(path)
|
||||
|
||||
def maybeOptimize(self):
|
||||
# have two weeks passed?
|
||||
|
|
|
@ -39,7 +39,7 @@ profileConf = dict(
|
|||
# profile
|
||||
mainWindowGeom=None,
|
||||
mainWindowState=None,
|
||||
numBackups=30,
|
||||
numBackups=50,
|
||||
lastOptimize=intTime(),
|
||||
# editing
|
||||
fullSearch=False,
|
||||
|
|
Loading…
Reference in a new issue