From 1194159f17fdbf29623aa09528a8d4b7e72208eb Mon Sep 17 00:00:00 2001 From: Brian Mattern Date: Mon, 26 Mar 2012 17:20:00 -0700 Subject: [PATCH] use os.path.join --- hyde/ext/plugins/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyde/ext/plugins/images.py b/hyde/ext/plugins/images.py index 9a6c8d9..fd494ed 100644 --- a/hyde/ext/plugins/images.py +++ b/hyde/ext/plugins/images.py @@ -328,7 +328,7 @@ class ImageThumbnailsPlugin(Plugin): thumbs_list = [] for inc in include: - for path in glob.glob(node.path + os.sep + inc): + for path in glob.glob(os.path.join(node.path, inc)): thumbs_list.append(path) for resource in node.resources: if resource.source_file.kind in ["jpg", "png"] and resource.path in thumbs_list: