From 4b324e71979aeaf7a9c6afe955672b319ce1606d Mon Sep 17 00:00:00 2001 From: Greg Darke Date: Mon, 7 Jul 2008 16:25:32 +1000 Subject: [PATCH] Return True from the cache loading code, this stops the cache from being wiped each time --- randombg.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/randombg.py b/randombg.py index 3f1609c..e58875a 100755 --- a/randombg.py +++ b/randombg.py @@ -131,6 +131,8 @@ class AllRandomFileList(BaseFileList): logging.debug("Ignoring cache, path lists do not match") except Exception, e: logging.warning("Loading cache", exc_info=1) + else: + return True def get_current_image(self): return self.list[self.imagePointer] -- 2.39.2