Browse Source

use os.path.join

main
Brian Mattern 13 years ago
committed by Lakshmi Vyasarajan
parent
commit
1194159f17
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hyde/ext/plugins/images.py

+ 1
- 1
hyde/ext/plugins/images.py View File

@@ -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:


Loading…
Cancel
Save