From d33715066aab8bace17bb575a1787af40f86e67a Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 29 Apr 2013 11:05:09 +0200 Subject: Restructuring Import flask app as well as new makefile and entirely new directory structure. --- scanner/TreeWalker.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'scanner/TreeWalker.py') 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 } -- cgit v1.2.3-59-g8ed1b