better response.files behavior

This commit is contained in:
Massimo Di Pierro
2012-04-18 17:31:10 -05:00
parent 04a82409fe
commit 05ba91cde5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 1.99.7 (2012-04-17 21:21:45) dev
Version 1.99.7 (2012-04-18 17:30:38) dev
+1 -1
View File
@@ -251,7 +251,7 @@ class Response(Storage):
s = ''
for item in files:
if isinstance(item,str):
f = item.lower()
f = item.lower().split('?')[0]
if f.endswith('.css'): s += css_template % item
elif f.endswith('.js'): s += js_template % item
elif f.endswith('.coffee'): s += coffee_template % item