fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b348abe
)
Test fix.
author
Łukasz Rekucki
<lrekucki@gmail.com>
Mon, 28 Sep 2009 14:36:59 +0000
(16:36 +0200)
committer
Łukasz Rekucki
<lrekucki@gmail.com>
Mon, 28 Sep 2009 14:36:59 +0000
(16:36 +0200)
apps/api/handlers/library_handlers.py
patch
|
blob
|
history
diff --git
a/apps/api/handlers/library_handlers.py
b/apps/api/handlers/library_handlers.py
index
7db7b79
..
5696cc9
100644
(file)
--- a/
apps/api/handlers/library_handlers.py
+++ b/
apps/api/handlers/library_handlers.py
@@
-276,7
+276,7
@@
class DocumentTextHandler(BaseHandler):
# now that the parts are ok, write xml
f = lib._fileopen(resolve('xml'), 'w+')
- f.write(data)
+ f.write(data
.encode('utf-8')
)
f.close()
ndoc = None