misc: fix serving of minified file in production environment (#8506)

This commit is contained in:
Frédéric Péters 2015-10-04 21:40:51 +02:00
parent a6c187a4f6
commit acb49b1352
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ def xstatic(modname, filename):
cdns = settings.CDNS
except AttributeError:
cdns = []
if not settings.DEBUG:
if settings.DEBUG:
filename = filename.replace('.min.', '.')
if cdns: