css hashing method "hash" is different on windows #189

Closed
davidbrai opened this Issue Jan 8, 2012 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

davidbrai commented Jan 8, 2012

happening on version 1.1.1
probably because:
compressor.filters.css_default.py line 65

the line: hash_file = open(filename)
should be: hash_file = open(filename, 'rb')

@davidbrai davidbrai added a commit to davidbrai/django_compressor that referenced this issue Jan 10, 2012

@davidbrai davidbrai reading files with binary mode. this fixes an issue on windows.
fixes issue #189
fedb57e

jezdez closed this Mar 3, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment