fix error

This commit is contained in:
Adrien Beudin 2016-11-04 14:44:40 +01:00
parent 3440a8cfcb
commit dd10770e86

View File

@ -394,7 +394,7 @@ def build_gallery(settings, gallery_settings, gallery_path, template):
gallery=gallery_settings,
Image=Image,
Video=Video,
link=gallery_light_path
link=gallery_light_path,
name=gallery_path.split('/', 1)[-1]
).encode("Utf-8")