You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: