X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/8c43021c5d0731cf35203cb32bbc63c89271cbb5..05f67adb27390c7a9cf214e83550d3bbca88c8f2:/apps/catalogue/helpers.py diff --git a/apps/catalogue/helpers.py b/apps/catalogue/helpers.py index 7b1f44a4..bfc842fc 100644 --- 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: