a bug fix for --no-filenames option to work! (for images) #5

Merged
decentral1se merged 1 commits from losttra8n/distribusi:losttra8n-patch-1 into master 2021-07-13 10:06:01 +02:00
Showing only changes of commit 46e68fc966 - Show all commits

View File

@ -166,6 +166,7 @@ def distribusify(args, directory): # noqa
a = thumbnail(full_path, name, args)
if args.no_filenames:
caption = ""
a = FILE_TYPES[type_].format(name, caption)
if args.captions:
caption = caption(full_path)
a = FILE_TYPES[type_].format(name, caption)