I think it is now working, I checked the source and there is: if isinstance(item,str): 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 elif f.endswith('.less'): s += less_template % item elif isinstance(item,(list,tuple)):
So "f" is splitted by "?", but I have not tested. --