From 982ea5447d644a7d3e393e118edadaeb446fcc69 Mon Sep 17 00:00:00 2001 From: Simon Conseil Date: Tue, 5 Feb 2019 23:35:04 +0100 Subject: [PATCH] Fix missing variable, following #359 --- sigal/gallery.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sigal/gallery.py b/sigal/gallery.py index 424bd5d..1695852 100644 --- a/sigal/gallery.py +++ b/sigal/gallery.py @@ -113,7 +113,8 @@ class Media: check_or_create_dir(orig_path) big_path = join(orig_path, self.src_filename) if not isfile(big_path): - copy(self.src_path, big_path, symlink=s['orig_link'], rellink=['rel_link']) + copy(self.src_path, big_path, symlink=s['orig_link'], + rellink=self.settings['rel_link']) return join(s['orig_dir'], self.src_filename) @property