mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-05 19:11:50 +02:00
Because of course py3 uses an incompatible pickle format by default.
This commit is contained in:
parent
0783a74b59
commit
2d2805f1b8
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue