mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-11 05:33:57 +00:00
Fix for python3 and pickle
This commit is contained in:
parent
ce6cde545b
commit
79ee07ea54
@ -85,7 +85,10 @@ import hashlib
|
||||
from redirect import redirect_back
|
||||
import time
|
||||
import server
|
||||
import cPickle
|
||||
try:
|
||||
import cPickle
|
||||
except ImportError:
|
||||
import pickle as cPickle
|
||||
|
||||
try:
|
||||
from urllib.parse import quote
|
||||
|
Loading…
Reference in New Issue
Block a user