aboutsummaryrefslogtreecommitdiffstats
path: root/scanner/TreeWalker.py
diff options
context:
space:
mode:
Diffstat (limited to 'scanner/TreeWalker.py')
-rw-r--r--scanner/TreeWalker.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/scanner/TreeWalker.py b/scanner/TreeWalker.py
index c2dbd53..191b187 100644
--- a/scanner/TreeWalker.py
+++ b/scanner/TreeWalker.py
@@ -88,12 +88,6 @@ class TreeWalker:
fp = open(os.path.join(self.cache_path, "all_photos.json"), 'w')
json.dump(photo_list, fp, cls=PhotoAlbumEncoder)
fp.close()
- photo_list.reverse()
- message("caching", "latest photos path list")
- fp = open(os.path.join(self.cache_path, "latest_photos.json"), 'w')
- json.dump(photo_list[0:27], fp, cls=PhotoAlbumEncoder)
- fp.close()
-
def remove_stale(self):
message("cleanup", "building stale list")
all_cache_entries = { "all_photos.json": True, "latest_photos.json": True }