X-Git-Url: https://code.delx.au/bg-scripts/blobdiff_plain/fce0bb0219e37c43dace3b4eb02d5274a636d518..7732268adc0319b39799dc37f83e65bb994603fd:/randombg.py diff --git a/randombg.py b/randombg.py index a6fb4f0..0b13ba3 100755 --- a/randombg.py +++ b/randombg.py @@ -49,7 +49,7 @@ class BaseFileList(object): try: logging.debug("Attempting to store cache") fd = open(filename, 'wb') - pickle.dump(obj = self, file = fd, protocol = 2) + pickle.dump(self, fd, 2) logging.debug("Cache successfully stored") except Exception, e: warning("Storing cache: %s" % e)