From 0d15885573a2586defe83ea9f6f5d926b1e90bdf Mon Sep 17 00:00:00 2001 From: Ryan Kelly Date: Sat, 30 Apr 2011 09:47:44 +1000 Subject: [PATCH] LessCSSPlugin: return original text if not a .less file --- hyde/ext/plugins/less.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyde/ext/plugins/less.py b/hyde/ext/plugins/less.py index 575072a..4acf6bb 100644 --- a/hyde/ext/plugins/less.py +++ b/hyde/ext/plugins/less.py @@ -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)