fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
012e3cc
)
Fix
author
Łukasz Rekucki
<lrekucki@gmail.com>
Fri, 2 Oct 2009 09:20:26 +0000
(11:20 +0200)
committer
Łukasz Rekucki
<lrekucki@gmail.com>
Fri, 2 Oct 2009 09:20:26 +0000
(11:20 +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
84881ce
..
1cdbe53
100644
(file)
--- a/
apps/api/handlers/library_handlers.py
+++ b/
apps/api/handlers/library_handlers.py
@@
-255,7
+255,9
@@
class DocumentGalleryHandler(BaseHandler):
gallery = {'name': assoc.name, 'pages': []}
gallery = {'name': assoc.name, 'pages': []}
- for file in sorted(os.listdir(dirpath)):
+ for file in sorted( os.listdir(dirpath) ):
+ file = file.encode('utf-8')
+
log.info(file)
name, ext = os.path.splitext(os.path.basename(file))
log.info(file)
name, ext = os.path.splitext(os.path.basename(file))