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:
8c43021
)
unsorted listdir in obvious place
author
Marcin Koziej
<marcin@lolownia.org>
Mon, 21 May 2012 12:51:12 +0000
(14:51 +0200)
committer
Marcin Koziej
<marcin@lolownia.org>
Mon, 21 May 2012 12:51:12 +0000
(14:51 +0200)
apps/catalogue/helpers.py
patch
|
blob
|
history
diff --git
a/apps/catalogue/helpers.py
b/apps/catalogue/helpers.py
index
7b1f44a
..
bfc842f
100644
(file)
--- a/
apps/catalogue/helpers.py
+++ b/
apps/catalogue/helpers.py
@@
-82,8
+82,10
@@
class GalleryMerger(object):
return self.dest
files = listdir(self.path(self.dest))
+ files.sort()
self.dest_size = len(files)
files_other = listdir(self.path(self.src))
+ files_other.sort()
self.src_size = len(files_other)
if files and files_other: