Browse Source

LessCSSPlugin: return original text if not a .less file

main
Ryan Kelly 13 years ago
parent
commit
0d15885573
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hyde/ext/plugins/less.py

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

@@ -34,7 +34,7 @@ class LessCSSPlugin(CLTransformer):
"""

if not resource.source_file.kind == 'less':
return
return text
import_finder = re.compile(
'^\\s*@import\s+(?:\'|\")([^\'\"]*)(?:\'|\")\s*\;\s*$',
re.MULTILINE)


Loading…
Cancel
Save