Merge pull request 'a bug fix for --no-filenames option to work! (for images)' (#5) from losttra8n/distribusi:losttra8n-patch-1 into master
Reviewed-on: #5
This commit is contained in:
commit
6dd9fb7b40
@ -166,6 +166,7 @@ def distribusify(args, directory): # noqa
|
|||||||
a = thumbnail(full_path, name, args)
|
a = thumbnail(full_path, name, args)
|
||||||
if args.no_filenames:
|
if args.no_filenames:
|
||||||
caption = ""
|
caption = ""
|
||||||
|
a = FILE_TYPES[type_].format(name, caption)
|
||||||
if args.captions:
|
if args.captions:
|
||||||
caption = caption(full_path)
|
caption = caption(full_path)
|
||||||
a = FILE_TYPES[type_].format(name, caption)
|
a = FILE_TYPES[type_].format(name, caption)
|
||||||
|
Loading…
Reference in New Issue
Block a user