From 2dfa8b761b13f6c7f9a70638db80b31da6681191 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Sat, 28 Jul 2018 23:06:35 -0500 Subject: [PATCH] Because of course py3 uses an incompatible pickle format by default. --- fanficfare/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fanficfare/cli.py b/fanficfare/cli.py index 35eed7f1..6ea5cf0d 100644 --- a/fanficfare/cli.py +++ b/fanficfare/cli.py @@ -275,7 +275,7 @@ def main(argv=None, if options.save_cache: with open('global_cache','wb') as jout: - pickle.dump(options.pagecache,jout) + pickle.dump(options.pagecache,jout,protocol=2) options.cookiejar.save('global_cookies') # make rest a function and loop on it.