fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
da27dfe
)
Galerie mk2
author
Łukasz Rekucki
<lrekucki@gmail.com>
Fri, 16 Oct 2009 11:27:26 +0000
(13:27 +0200)
committer
Łukasz Rekucki
<lrekucki@gmail.com>
Fri, 16 Oct 2009 11:27:26 +0000
(13:27 +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
f533d0e
..
6ac0ba1
100644
(file)
--- a/
apps/api/handlers/library_handlers.py
+++ b/
apps/api/handlers/library_handlers.py
@@
-337,7
+337,7
@@
class DocumentGalleryHandler(BaseHandler):
gallery = {'name': assoc.name, 'pages': []}
gallery = {'name': assoc.name, 'pages': []}
- for file in
sorted(os.listdir(dirpath)
):
+ for file in
os.listdir(dirpath
):
if not isinstance(file, unicode):
try:
file = file.decode('utf-8')
if not isinstance(file, unicode):
try:
file = file.decode('utf-8')