diff --git a/aqt/main.py b/aqt/main.py index 49443d106..41c999e7c 100644 --- a/aqt/main.py +++ b/aqt/main.py @@ -396,7 +396,7 @@ from the profile screen.")) backups = [] for file in os.listdir(dir): # only look for new-style format - m = re.match("backup-\{4}-.+.apkg", file) + m = re.match("backup-\d{4}-\d{2}-.+.apkg", file) if not m: continue backups.append(file)