For purge_deleted_files, search whole db, not just cwd.
The cwd may not exist any more since stuff has been deleted.
This commit is contained in:
parent
f01dd63077
commit
8b4fa133d1
1 changed files with 1 additions and 1 deletions
|
|
@ -409,7 +409,7 @@ def purge_deleted_files_argparse(args):
|
||||||
if args.any_photo_args:
|
if args.any_photo_args:
|
||||||
photos = get_photos_from_args(args)
|
photos = get_photos_from_args(args)
|
||||||
else:
|
else:
|
||||||
photos = search_in_cwd(yield_photos=True, yield_albums=False)
|
photos = list(photodb.get_photos())
|
||||||
|
|
||||||
need_commit = False
|
need_commit = False
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue