Preload icon64.png, fixes #177

This commit is contained in:
j 2012-02-16 21:29:31 +05:30
parent d176990b92
commit cf3237a2fd

View file

@ -84,7 +84,9 @@ def update_static():
js.append(f[len(settings.STATIC_ROOT)+1:]) js.append(f[len(settings.STATIC_ROOT)+1:])
with open(f) as j: with open(f) as j:
data += j.read() + '\n' data += j.read() + '\n'
js += [
'png/icon64.png',
]
print 'write', pandora_js print 'write', pandora_js
with open(pandora_js, 'w') as f: with open(pandora_js, 'w') as f:
data = ox.js.minify(data) data = ox.js.minify(data)