mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
One more str->bytes.
This commit is contained in:
parent
c766e781ed
commit
87e076a9ae
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ class PageImporter(object):
|
|||
k.set_metadata('Content-Encoding', 'gzip')
|
||||
k.set_metadata('Content-Type', 'text/html')
|
||||
k.set_metadata('Access-Control-Allow-Origin', '*')
|
||||
k.set_contents_from_string(compress_string(html))
|
||||
k.set_contents_from_string(compress_string(html.encode('utf-8')))
|
||||
k.set_acl('public-read')
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue