Its possible to bundle images inside of a bower package by putting it into the bower.json. However, the error below is produced. If line 291 in core is changed to open(..., 'rb') bowerstatic opens the image and serves it, not in the correct way obviously, but it works.
I'm not sure if this if is in supposed to work differently and I'm doing something wrong, if image inclusion just hasn't been added as a feature yet, or if its an oversight.
File "eggs/bowerstatic-0.8.1-py3.4.egg/bowerstatic/core.py", line 291, in content
return f.read()
File "Python3.4.2/lib/python3.4/codecs.py", line 313, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte
Its possible to bundle images inside of a bower package by putting it into the bower.json. However, the error below is produced. If line 291 in core is changed to open(..., 'rb') bowerstatic opens the image and serves it, not in the correct way obviously, but it works.
I'm not sure if this if is in supposed to work differently and I'm doing something wrong, if image inclusion just hasn't been added as a feature yet, or if its an oversight.