From: Ɓukasz Rekucki Date: Fri, 16 Oct 2009 11:27:26 +0000 (+0200) Subject: Galerie mk2 X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/c6b7810b77a7b84da1114ddfd424357496bcab9f?ds=sidebyside Galerie mk2 --- 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')