From c6b7810b77a7b84da1114ddfd424357496bcab9f Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Rekucki?= Date: Fri, 16 Oct 2009 13:27:26 +0200 Subject: [PATCH] Galerie mk2 --- apps/api/handlers/library_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/handlers/library_handlers.py b/apps/api/handlers/library_handlers.py index f533d0e6..6ac0ba13 100644 --- 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': []} - for file in sorted(os.listdir(dirpath)): + for file in os.listdir(dirpath): if not isinstance(file, unicode): try: file = file.decode('utf-8') -- 2.20.1