Browse Source

Do not try to read meta data on simple_copy files

This helps to fix issue #121

Signed-off-by: Julien Danjou <julien@danjou.info>
main
Julien Danjou 13 years ago
parent
commit
725822b493
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hyde/ext/plugins/meta.py

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

@@ -67,7 +67,7 @@ class MetaPlugin(Plugin):
for resource in node.resources:
if not hasattr(resource, 'meta'):
resource.meta = Metadata({}, node.meta)
if resource.source_file.is_text:
if resource.source_file.is_text and not resource.simple_copy:
self.__read_resource__(resource, resource.source_file.read_all())

def __read_resource__(self, resource, text):


Loading…
Cancel
Save