Fix excplicit yield_photos, yield_albums in search_in_cwd.
This commit is contained in:
parent
843e8d6743
commit
e80f27e1fd
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ def add_tag_argparse(args):
|
||||||
if args.photo_id_args or args.photo_search_args:
|
if args.photo_id_args or args.photo_search_args:
|
||||||
photos = get_photos_from_args(args)
|
photos = get_photos_from_args(args)
|
||||||
else:
|
else:
|
||||||
photos = search_in_cwd()
|
photos = search_in_cwd(yield_photos=True, yield_albums=False)
|
||||||
|
|
||||||
for photo in photos:
|
for photo in photos:
|
||||||
photo.add_tag(tag)
|
photo.add_tag(tag)
|
||||||
|
|
Loading…
Reference in a new issue