increase default number of backups; don't put in trash

This commit is contained in:
Damien Elmes 2017-10-05 14:39:47 +10:00
parent d3233f2446
commit 7b844d12cb
2 changed files with 2 additions and 2 deletions

View file

@ -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?

View file

@ -39,7 +39,7 @@ profileConf = dict(
# profile
mainWindowGeom=None,
mainWindowState=None,
numBackups=30,
numBackups=50,
lastOptimize=intTime(),
# editing
fullSearch=False,